Skip to content

Commit

Permalink
updating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmenendez committed Aug 20, 2024
1 parent 144ad7b commit f99ac5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func TestIsMemberOf(t *testing.T) {
}
// test the user is not member of the organizations
success, err := db.IsMemberOf(user.Email, "notFoundOrg", AdminRole)
c.Assert(err, qt.IsNil)
c.Assert(err, qt.Equals, ErrNotFound)
c.Assert(success, qt.IsFalse)
// test the user has no role in the organization
success, err = db.IsMemberOf(user.Email, "adminOrg", ViewerRole)
Expand Down

0 comments on commit f99ac5d

Please sign in to comment.