Open platform to collect and prioritize feedback
Fixed tests
Matt Robertsa0385c2a8185
diff --git a/app/handlers/signup_test.go b/app/handlers/signup_test.goindex 28cf9ac58..d29446e9e 100644--- a/app/handlers/signup_test.go+++ b/app/handlers/signup_test.go@@ -322,7 +322,7 @@ func TestResendSignUpEmailHandler_Success(t *testing.T) {q.Result = &entity.EmailVerification{Email: "[email protected]",Name: "Jon Snow",- CreatedAt: time.Now().Add(-10 * time.Minute), // Old enough to allow resend+ CreatedAt: time.Now().Add(-10 * time.Minute), // Old enough to allow resend (> 1 minute)}return nil})@@ -367,7 +367,7 @@ func TestResendSignUpEmailHandler_RateLimited(t *testing.T) {q.Result = &entity.EmailVerification{Email: "[email protected]",Name: "Jon Snow",- CreatedAt: time.Now().Add(-2 * time.Minute), // Too recent+ CreatedAt: time.Now().Add(-30 * time.Second), // Too recent (less than 1 minute)}return nil})