Skip to content

Commit

Permalink
Remove deprecation.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 5, 2024
1 parent 3ee25b1 commit 39a04a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/Fixture/UsersFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class UsersFixture extends TestFixture {
'id' => ['type' => 'integer'],
'username' => ['type' => 'string', 'null' => false, 'length' => 64, 'comment' => '', 'charset' => 'utf8'],
'email' => ['type' => 'string', 'null' => false, 'length' => 64, 'comment' => '', 'charset' => 'utf8'],
'password' => ['type' => 'string', 'null' => true, 'length' => 64, 'comment' => '', 'charset' => 'utf8'],
'role_id' => ['type' => 'integer', 'null' => false, 'default' => '0', 'length' => 11, 'collate' => null, 'comment' => ''],
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],
];
Expand All @@ -32,6 +33,7 @@ class UsersFixture extends TestFixture {
'id' => '1',
'username' => 'dereuromark',
'email' => '[email protected]',
'password' => '$2y$10$syCszS4cf9SJrTbf0p6myukCl812046xqM.JPZItfuySnrmm6LH1y', // 123,
'role_id' => ROLE_USER,
],
[
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Auth/MultiColumnAuthenticateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function testGetUser() {
'columns' => ['username', 'email'],
]);
$result = $object->authenticate($request, new Response());
$this->assertFalse($result);
$this->assertTrue((bool)$result);
}

}

0 comments on commit 39a04a8

Please sign in to comment.