diff --git a/composer.json b/composer.json index 99c70d0..983c007 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "php": ">=8.1", "ext-json": "*", "cakephp/cakephp": "^5.0", - "cakedc/users": "^12.0", + "cakedc/users": "^14.3", "lcobucci/jwt": "~4.0.0", "firebase/php-jwt": "^6.3" }, diff --git a/tests/TestCase/Integration/Service/Action/Auth/RegisterActionTest.php b/tests/TestCase/Integration/Service/Action/Auth/RegisterActionTest.php index 94bacab..577c79f 100644 --- a/tests/TestCase/Integration/Service/Action/Auth/RegisterActionTest.php +++ b/tests/TestCase/Integration/Service/Action/Auth/RegisterActionTest.php @@ -81,7 +81,7 @@ public function testSuccessRegister() 'role' => 'user', ]; $data = $result['data']; - unset($data['id'], $data['tos_date']); + unset($data['id'], $data['tos_date'], $data['last_login'], $data['secret_verified']); $this->assertEquals($expected, $data); }