-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include email_verified & remove names from auth req body
- Loading branch information
Showing
3 changed files
with
18 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,11 +39,9 @@ func TestAuth(t *testing.T) { | |
// test signup | ||
t.Run("signup", func(t *testing.T) { | ||
payload := SignupRequest{ | ||
Email: "[email protected]", | ||
Password: "password123", | ||
FirstName: "Test", | ||
LastName: "User", | ||
Role: "startup_owner", | ||
Email: "[email protected]", | ||
Password: "password123", | ||
Role: "startup_owner", | ||
} | ||
body, _ := json.Marshal(payload) | ||
|
||
|
@@ -66,11 +64,9 @@ func TestAuth(t *testing.T) { | |
// test duplicate email | ||
t.Run("duplicate email", func(t *testing.T) { | ||
payload := SignupRequest{ | ||
Email: "[email protected]", | ||
Password: "password123", | ||
FirstName: "Test", | ||
LastName: "User", | ||
Role: "startup_owner", | ||
Email: "[email protected]", | ||
Password: "password123", | ||
Role: "startup_owner", | ||
} | ||
body, _ := json.Marshal(payload) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters