Skip to content

Commit

Permalink
fix: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Mar 22, 2024
1 parent 243efd1 commit 6502e25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions go/controller/post_signin_passwordless_email_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func TestPostSigninPasswordlessEmail(t *testing.T) { //nolint:maintidx
notifications.TemplateNameSigninPasswordless,
testhelpers.GomockCmpOpts(
notifications.TemplateData{
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Flocalhost%3A3000&ticket=passwordlessEmail%3Ab66123b7-ea8b-4afe-a875-f201a2f8b224&type=passwordlessEmail", //nolint:lll
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Flocalhost%3A3000&ticket=passwordlessEmail%3Ab66123b7-ea8b-4afe-a875-f201a2f8b224&type=signinPasswordless", //nolint:lll
DisplayName: "[email protected]",
Email: "[email protected]",
NewEmail: "",
Expand Down Expand Up @@ -262,7 +262,7 @@ func TestPostSigninPasswordlessEmail(t *testing.T) { //nolint:maintidx
notifications.TemplateNameSigninPasswordless,
testhelpers.GomockCmpOpts(
notifications.TemplateData{
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Flocalhost%3A3000&ticket=passwordlessEmail%3Ab66123b7-ea8b-4afe-a875-f201a2f8b224&type=passwordlessEmail", //nolint:lll
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Flocalhost%3A3000&ticket=passwordlessEmail%3Ab66123b7-ea8b-4afe-a875-f201a2f8b224&type=signinPasswordless", //nolint:lll
DisplayName: "[email protected]",
Email: "[email protected]",
NewEmail: "",
Expand Down Expand Up @@ -389,7 +389,7 @@ func TestPostSigninPasswordlessEmail(t *testing.T) { //nolint:maintidx
notifications.TemplateNameSigninPasswordless,
testhelpers.GomockCmpOpts(
notifications.TemplateData{
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Fmyapp&ticket=passwordlessEmail%3Ac2d0203a-2117-4445-bade-0ed8d5f44f4f&type=passwordlessEmail", //nolint:lll
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Fmyapp&ticket=passwordlessEmail%3Ac2d0203a-2117-4445-bade-0ed8d5f44f4f&type=signinPasswordless", //nolint:lll
DisplayName: "Jane Doe",
Email: "[email protected]",
NewEmail: "",
Expand Down Expand Up @@ -525,7 +525,7 @@ func TestPostSigninPasswordlessEmail(t *testing.T) { //nolint:maintidx
notifications.TemplateNameSigninPasswordless,
testhelpers.GomockCmpOpts(
notifications.TemplateData{
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Flocalhost%3A3000&ticket=passwordlessEmail%3Ab66123b7-ea8b-4afe-a875-f201a2f8b224&type=passwordlessEmail", //nolint:lll
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Flocalhost%3A3000&ticket=passwordlessEmail%3Ab66123b7-ea8b-4afe-a875-f201a2f8b224&type=signinPasswordless", //nolint:lll
DisplayName: "[email protected]",
Email: "[email protected]",
NewEmail: "",
Expand Down
2 changes: 1 addition & 1 deletion go/controller/post_user_deanonymize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func TestPostUserDeanonymize(t *testing.T) { //nolint:maintidx
notifications.TemplateNameSigninPasswordless,
testhelpers.GomockCmpOpts(
notifications.TemplateData{
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Flocalhost%3A3000&ticket=passwordlessEmail%3Ac000a5b3-d3af-4937-aa2e-cc86f19ee565&type=passwordlessEmail", //nolint:lll
Link: "https://local.auth.nhost.run/verify?redirectTo=http%3A%2F%2Flocalhost%3A3000&ticket=passwordlessEmail%3Ac000a5b3-d3af-4937-aa2e-cc86f19ee565&type=signinPasswordless", //nolint:lll
DisplayName: "[email protected]",
Email: "[email protected]",
NewEmail: "",
Expand Down
2 changes: 1 addition & 1 deletion go/controller/workflows_tickets.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type LinkType string
const (
LinkTypeEmailVerify LinkType = "emailVerify"
LinkTypeEmailConfirmChange LinkType = "emailConfirmChange"
LinkTypePasswordlessEmail LinkType = "passwordlessEmail"
LinkTypePasswordlessEmail LinkType = "signinPasswordless"
LinkTypePasswordReset LinkType = "passwordReset"
)

Expand Down

0 comments on commit 6502e25

Please sign in to comment.