Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove bogus test.

It was failing as the method handling was wonky.
  • Loading branch information...
commit 3ff1ff12412de1e0917ff7df3de6f73ded7e8a22 1 parent a6c2144
@markstory markstory authored
Showing with 0 additions and 11 deletions.
  1. +0 −11 cake/tests/cases/libs/controller/components/auth.test.php
View
11 cake/tests/cases/libs/controller/components/auth.test.php
@@ -1020,17 +1020,6 @@ function testLoginRedirect() {
$this->Controller->Session->delete('Auth');
- $this->Controller->params['url']['url'] = 'admin/';
- $this->Controller->Auth->initialize($this->Controller);
- $this->Controller->Auth->userModel = 'AuthUser';
- $this->Controller->Auth->loginRedirect = null;
- $this->Controller->Auth->startup($this->Controller);
- $expected = Router::normalize('admin/');
- $this->assertTrue($this->Controller->Session->check('Message.auth'));
- $this->assertEqual($expected, $this->Controller->Auth->redirect());
-
- $this->Controller->Session->delete('Auth');
-
//empty referer no session
$_SERVER['HTTP_REFERER'] = false;
$_ENV['HTTP_REFERER'] = false;
Please sign in to comment.
Something went wrong with that request. Please try again.