Skip to content
Permalink
Browse files

Adjust test.

  • Loading branch information...
dereuromark committed Oct 16, 2016
1 parent 0aebf87 commit b1591925a70d6c1b58bab8d993655528c3bab908
Showing with 5 additions and 5 deletions.
  1. +5 −5 tests/TestCase/Controller/Component/AuthComponentTest.php
@@ -37,11 +37,11 @@ class AuthComponentTest extends TestCase
{
/**
* name property
* AuthComponent property
*
* @var string
* @var \TestApp\Controller\Component\TestAuthComponent
*/
public $name = 'Auth';
public $Auth;
/**
* fixtures property
@@ -223,7 +223,7 @@ public function testAuthorizeFalse()
$result = $this->Controller->Auth->startup($event);
$this->assertTrue($event->isStopped());
$this->assertInstanceOf('Cake\Network\Response', $result);
$this->assertTrue($this->Auth->session->check('Flash.auth'));
$this->assertTrue($this->Auth->session->check('Flash.flash'));
$this->Controller->request->addParams(Router::parse('auth_test/camelCase'));
$result = $this->Controller->Auth->startup($event);
@@ -1309,7 +1309,7 @@ public function testFlashSettings()
'Auth failure',
[
'key' => 'auth-key',
'element' => 'default',
'element' => 'error',
'params' => ['class' => 'error']
]
);

0 comments on commit b159192

Please sign in to comment.
You can’t perform that action at this time.