mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge remote branch 'ceeram/2.0-1607' into 2.0
This commit is contained in:
commit
b1318f8ab8
1 changed files with 3 additions and 0 deletions
|
@ -848,6 +848,9 @@ class AuthTest extends CakeTestCase {
|
|||
|
||||
//external authed action
|
||||
$_SERVER['HTTP_REFERER'] = 'http://webmail.example.com/view/message';
|
||||
$_GET = array(
|
||||
'url' => '/posts/edit/1'
|
||||
);
|
||||
$this->Auth->Session->delete('Auth');
|
||||
$url = '/posts/edit/1';
|
||||
$this->Auth->request = $this->Controller->request = new CakeRequest($url);
|
||||
|
|
Loading…
Reference in a new issue