Skip to content

Commit

Permalink
Fixed failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
russjones committed Jan 11, 2019
1 parent c0dea43 commit 6ab5744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ func (s *TLSSuite) TestGetCertAuthority(c *check.C) {
role := services.NewImplicitRole()
role.SetName(user.GetName())
role.SetLogins(services.Allow, []string{user.GetName()})
err = s.server.Auth().UpsertRole(role, backend.Forever)
err = s.server.Auth().UpsertRole(role)
c.Assert(err, check.IsNil)

user.AddRole(role.GetName())
Expand Down

0 comments on commit 6ab5744

Please sign in to comment.