From 6ede79928a5c51fd889e25dd8cfafe58c1d96556 Mon Sep 17 00:00:00 2001 From: Hernan Soberon Date: Fri, 22 Nov 2024 17:24:55 -0500 Subject: [PATCH 1/2] fix the testSuccessRegister test --- .../Integration/Service/Action/Auth/RegisterActionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } From 321942b5cfad4802d2c2a1b3b16d812e7512857a Mon Sep 17 00:00:00 2001 From: Hernan Soberon Date: Mon, 25 Nov 2024 13:25:39 -0500 Subject: [PATCH 2/2] updated composer --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" },