Changing two deprecated Session::del() calls to Session::delete() in the tests.

This commit is contained in:
burzum 2009-10-21 13:00:51 +02:00
parent fa6b1b1a20
commit 78e7421834
2 changed files with 2 additions and 2 deletions

View file

@ -224,7 +224,7 @@ class EmailComponentTest extends CakeTestCase {
function tearDown() {
Configure::write('App.encoding', $this->_appEncoding);
App::build();
$this->Controller->Session->del('Message');
$this->Controller->Session->delete('Message');
restore_error_handler();
ClassRegistry::flush();
}

View file

@ -168,7 +168,7 @@ class SecurityComponentTest extends CakeTestCase {
*/
function tearDown() {
Configure::write('Security.salt', $this->oldSalt);
$this->Controller->Session->del('_Token');
$this->Controller->Session->delete('_Token');
unset($this->Controller->Security);
unset($this->Controller->Component);
unset($this->Controller);