-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marvin Collins
authored and
Marvin Collins
committed
Jan 23, 2024
1 parent
f44b6f5
commit 3d028fc
Showing
4 changed files
with
23 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ | |
|
||
# Go workspace file | ||
go.work | ||
.idea | ||
/.idea |
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 |
---|---|---|
|
@@ -45,12 +45,12 @@ func TestGenerateOTP(t *testing.T) { | |
|
||
fastOtp := &FastOtp{APIKey: new(string), BaseURL: server.URL} | ||
|
||
delivery := OtpDelivery{ | ||
"email": "[email protected]", | ||
} | ||
|
||
payload := GenerateOTPPayload{ | ||
Delivery: struct { | ||
Email string `json:"email"` | ||
}{ | ||
Email: "[email protected]", | ||
}, | ||
Delivery: delivery, | ||
Identifier: "test_identifier", | ||
TokenLength: 6, | ||
Type: "alpha_numeric", | ||
|
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