Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
Fixes unique index violation in test case.
  • Loading branch information
RichDom2185 committed Jul 25, 2023
1 parent f3e8a71 commit b194c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestCreateUser(t *testing.T) {
assert.Nil(t, err, "Expected no error when getting all users")

user := User{
Username: "testUsername",
Username: "testUsername0",
LoginProvider: 123,
}
err = CreateUser(db, &user)
Expand Down

0 comments on commit b194c1f

Please sign in to comment.