58
59
func (s *modelmanagerSuite) TestCreateModelMissingConfig(c *gc.C) {
59
60
modelManager := s.OpenAPI(c)
60
61
_, err := modelManager.CreateModel("owner", nil, nil)
61
c.Assert(err, gc.ErrorMatches, `creating config from values failed: name: expected string, got nothing`)
62
c.Assert(err, gc.ErrorMatches, `failed to create config: creating config from values failed: name: expected string, got nothing`)
64
65
func (s *modelmanagerSuite) TestCreateModel(c *gc.C) {