Skip to content

Commit 5b10fa8

Browse files
committed
test: update assert method
1 parent 5994c25 commit 5b10fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Controllers/ActionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function testEmail2FAHandleInvalidEmail(): void
102102
]);
103103

104104
$result->assertRedirect();
105-
$result->assertSame(site_url('/auth/a/show'), $result->getRedirectUrl());
105+
$this->assertSame(site_url('/auth/a/show'), $result->getRedirectUrl());
106106
$result->assertSessionHas('error', lang('Auth.invalidEmail'));
107107
}
108108

0 commit comments

Comments
 (0)