From e6c9c0047357009532eeb60ef4557d5f377decbb Mon Sep 17 00:00:00 2001 From: Pooya Parsa Dadashi Date: Fri, 6 Nov 2026 12:39:44 +0330 Subject: [PATCH] test: fix identity type assertion in email activation test --- tests/Controllers/ActionsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Controllers/ActionsTest.php b/tests/Controllers/ActionsTest.php index c58b7e619..3025dd1a8 100644 --- a/tests/Controllers/ActionsTest.php +++ b/tests/Controllers/ActionsTest.php @@ -294,7 +294,7 @@ public function testEmailActivateVerify(): void // Identity should have been removed $this->dontSeeInDatabase($this->tables['identities'], [ 'user_id' => $this->user->id, - 'type' => Session::ID_TYPE_EMAIL_2FA, + 'type' => Session::ID_TYPE_EMAIL_ACTIVATE, ]); // Session should have been cleared