Permalink
Browse files

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

…the tests.
  • Loading branch information...
1 parent fa6b1b1 commit 78e7421834089b09cf2b745f0c095919b3efdbfa @burzum burzum committed Oct 21, 2009
@@ -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();
}
@@ -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);

0 comments on commit 78e7421

Please sign in to comment.