Skip to content

Commit

Permalink
test: add upper case email
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanarya0 committed Apr 3, 2024
1 parent 3edab9f commit 829f860
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/store/postgres/user_repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,14 @@ func (s *UserRepositoryTestSuite) TestCreate() {
},
ExpectedEmail: "[email protected]",
},
{
Description: "should create a user with upper case",
UserToCreate: user.User{
Name: "new user",
Email: "[email protected]",
},
ExpectedEmail: "[email protected]",
},
{
Description: "should return error if user already exist",
UserToCreate: user.User{
Expand Down

0 comments on commit 829f860

Please sign in to comment.