mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Adding a new change to the AuthComponent test to make it pass with Sqlsrv
This commit is contained in:
parent
4deedf6da2
commit
2e5bdd862b
1 changed files with 2 additions and 1 deletions
|
@ -352,7 +352,8 @@ class AuthTest extends CakeTestCase {
|
|||
$this->initialized = true;
|
||||
Router::reload();
|
||||
|
||||
ClassRegistry::init('AuthUser')->updateAll(array('password' => '"' . Security::hash('cake', null, true) . '"'));
|
||||
$User = ClassRegistry::init('AuthUser');
|
||||
$User->updateAll(array('password' => $User->getDataSource()->value(Security::hash('cake', null, true))));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue