From 1372f4670383da005009bcb0f28a5fbd23a31dcd Mon Sep 17 00:00:00 2001 From: oleghasjanov Date: Wed, 4 Jun 2025 14:44:23 +0300 Subject: [PATCH] clear validation event state before running test --- test/tasks/emails/verify_email_task_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tasks/emails/verify_email_task_test.rb b/test/tasks/emails/verify_email_task_test.rb index a1a3f138b..363261c69 100644 --- a/test/tasks/emails/verify_email_task_test.rb +++ b/test/tasks/emails/verify_email_task_test.rb @@ -54,7 +54,7 @@ class VerifyEmailTaskTest < ActiveJob::TestCase end def test_should_verify_contact_email_which_was_not_verified - + ValidationEvent.delete_all assert_equal ValidationEvent.count, 0 run_task