Skip to content

Commit

Permalink
Changing two deprecated Session::del() calls to Session::delete() in …
Browse files Browse the repository at this point in the history
…the tests.
  • Loading branch information
burzum committed Oct 21, 2009
1 parent fa6b1b1 commit 78e7421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/controller/components/email.test.php
Expand Up @@ -224,7 +224,7 @@ function setUp() {
function tearDown() { function tearDown() {
Configure::write('App.encoding', $this->_appEncoding); Configure::write('App.encoding', $this->_appEncoding);
App::build(); App::build();
$this->Controller->Session->del('Message'); $this->Controller->Session->delete('Message');
restore_error_handler(); restore_error_handler();
ClassRegistry::flush(); ClassRegistry::flush();
} }
Expand Down
Expand Up @@ -168,7 +168,7 @@ function setUp() {
*/ */
function tearDown() { function tearDown() {
Configure::write('Security.salt', $this->oldSalt); Configure::write('Security.salt', $this->oldSalt);
$this->Controller->Session->del('_Token'); $this->Controller->Session->delete('_Token');
unset($this->Controller->Security); unset($this->Controller->Security);
unset($this->Controller->Component); unset($this->Controller->Component);
unset($this->Controller); unset($this->Controller);
Expand Down

0 comments on commit 78e7421

Please sign in to comment.