Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changing two deprecated Session::del() calls to Session::delete() in …

…the tests.
  • Loading branch information...
commit 78e7421834089b09cf2b745f0c095919b3efdbfa 1 parent fa6b1b1
@burzum burzum authored
View
2  cake/tests/cases/libs/controller/components/email.test.php
@@ -224,7 +224,7 @@ function setUp() {
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
2  cake/tests/cases/libs/controller/components/security.test.php
@@ -168,7 +168,7 @@ function setUp() {
*/
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);
Please sign in to comment.
Something went wrong with that request. Please try again.