49
48
func (s *waitForEnvironSuite) TestInvalidConfig(c *gc.C) {
50
49
// Create an invalid config by taking the current config and
51
50
// tweaking the provider type.
52
52
testing.ChangeEnvironConfig(c, s.State, func(attrs coretesting.Attrs) coretesting.Attrs {
53
54
return attrs.Merge(coretesting.Attrs{"type": "unknown"})
55
56
w := s.State.WatchForEnvironConfigChanges()