mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 20:46:24 +00:00
test for ticket #467
This commit is contained in:
parent
4012925a26
commit
7337c12f4f
1 changed files with 3 additions and 1 deletions
|
@ -1429,6 +1429,8 @@ class AuthTest extends CakeTestCase {
|
|||
'id' => 1, 'username' => 'gwoo', 'created' => '2007-03-17 01:16:23', 'updated' => date('Y-m-d H:i:s')
|
||||
));
|
||||
$this->assertEqual($user, $expected);
|
||||
$sessionKey = $this->Controller->Auth->sessionKey;
|
||||
$this->assertEqual('Auth.TestPluginAuthUser', $sessionKey);
|
||||
|
||||
// Reverting changes
|
||||
Cache::delete('object_map', '_cake_core_');
|
||||
|
|
Loading…
Add table
Reference in a new issue