From dea92d9ada43c536809f9bb217fb6cb9833f5445 Mon Sep 17 00:00:00 2001 From: SergiX44 Date: Sun, 30 Jan 2022 11:58:43 +0100 Subject: [PATCH] fix test --- tests/Feature/Auth/RegisterControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Auth/RegisterControllerTest.php b/tests/Feature/Auth/RegisterControllerTest.php index b64e83f..ea8f930 100644 --- a/tests/Feature/Auth/RegisterControllerTest.php +++ b/tests/Feature/Auth/RegisterControllerTest.php @@ -97,7 +97,7 @@ class RegisterControllerTest extends TestCase $this->assertSame(route('login'), $response->getHeaderLine('Location')); $result = $this->database()->query('SELECT * FROM users WHERE id = ?', $userId)->fetch(); - $this->assertSame('1', $result->active); + $this->assertSame(1, (int) $result->active); $this->assertNull($result->activate_token); }