Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mina1460 committed Aug 25, 2023
1 parent 0690c98 commit f201a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/jujuapi/cloud_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (s *cloudSuite) TestUserCredentialsErrors(c *gc.C) {
var resp jujuparams.StringsResults
err := conn.APICall("Cloud", 1, "", "UserCredentials", req, &resp)
c.Assert(err, gc.Equals, nil)
c.Assert(resp.Results[0].Error, gc.ErrorMatches, `"not-a-user-tag" is not a valid tag`)
c.Assert(resp.Results[0].Error, gc.ErrorMatches, `invalid user tag`)
c.Assert(resp.Results, gc.HasLen, 1)
}

Expand Down

0 comments on commit f201a78

Please sign in to comment.