This commit is contained in:
SergiX44 2022-01-30 11:58:43 +01:00
parent 1390ee76c6
commit dea92d9ada

View file

@ -97,7 +97,7 @@ class RegisterControllerTest extends TestCase
$this->assertSame(route('login'), $response->getHeaderLine('Location')); $this->assertSame(route('login'), $response->getHeaderLine('Location'));
$result = $this->database()->query('SELECT * FROM users WHERE id = ?', $userId)->fetch(); $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); $this->assertNull($result->activate_token);
} }