fix test
This commit is contained in:
parent
1390ee76c6
commit
dea92d9ada
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue