Skip to content

Commit 98f5ee3

Browse files
authored
Merge pull request #112 from hsoberon/10.x-cake5.0
fix the testSuccessRegister test
2 parents 0a1e768 + 321942b commit 98f5ee3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"php": ">=8.1",
3131
"ext-json": "*",
3232
"cakephp/cakephp": "^5.0",
33-
"cakedc/users": "^12.0",
33+
"cakedc/users": "^14.3",
3434
"lcobucci/jwt": "~4.0.0",
3535
"firebase/php-jwt": "^6.3"
3636
},

tests/TestCase/Integration/Service/Action/Auth/RegisterActionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function testSuccessRegister()
8181
'role' => 'user',
8282
];
8383
$data = $result['data'];
84-
unset($data['id'], $data['tos_date']);
84+
unset($data['id'], $data['tos_date'], $data['last_login'], $data['secret_verified']);
8585
$this->assertEquals($expected, $data);
8686
}
8787

0 commit comments

Comments
 (0)