Skip to content
This repository
Browse code

Remove bogus test.

It was failing as the method handling was wonky.
  • Loading branch information...
commit 3ff1ff12412de1e0917ff7df3de6f73ded7e8a22 1 parent a6c2144
Mark Story authored
11  cake/tests/cases/libs/controller/components/auth.test.php
@@ -1020,17 +1020,6 @@ function testLoginRedirect() {
1020 1020
 
1021 1021
 		$this->Controller->Session->delete('Auth');
1022 1022
 
1023  
-		$this->Controller->params['url']['url'] = 'admin/';
1024  
-		$this->Controller->Auth->initialize($this->Controller);
1025  
-		$this->Controller->Auth->userModel = 'AuthUser';
1026  
-		$this->Controller->Auth->loginRedirect = null;
1027  
-		$this->Controller->Auth->startup($this->Controller);
1028  
-		$expected = Router::normalize('admin/');
1029  
-		$this->assertTrue($this->Controller->Session->check('Message.auth'));
1030  
-		$this->assertEqual($expected, $this->Controller->Auth->redirect());
1031  
-
1032  
-		$this->Controller->Session->delete('Auth');
1033  
-
1034 1023
 		//empty referer no session
1035 1024
 		$_SERVER['HTTP_REFERER'] = false;
1036 1025
 		$_ENV['HTTP_REFERER'] = false;

0 notes on commit 3ff1ff1

Please sign in to comment.
Something went wrong with that request. Please try again.