1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-12-16 05:01:29 +02:00

updated LastVerificationSentAt and LastResetSentAt fill sequence

This commit is contained in:
Gani Georgiev
2023-08-17 14:03:11 +03:00
parent c8ef3c4050
commit 53b20ec104
7 changed files with 17 additions and 15 deletions

View File

@@ -182,7 +182,7 @@ func TestRecordVerificationRequestInterceptors(t *testing.T) {
t.Fatalf("Expected interceptor2 to be called")
}
if interceptorLastVerificationSentAt.String() == authRecord.LastVerificationSentAt().String() {
t.Fatalf("Expected the form model to be filled before calling the interceptors")
if interceptorLastVerificationSentAt.String() != authRecord.LastVerificationSentAt().String() {
t.Fatalf("Expected the form model to NOT be filled before calling the interceptors")
}
}