mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
removed duplicate test case
Was exact duplicate of case starting line 692
This commit is contained in:
parent
4ea6c158d1
commit
37c9832dc1
1 changed files with 0 additions and 4 deletions
|
@ -697,10 +697,6 @@ class CakeRequestTest extends CakeTestCase {
|
|||
$result = $request->referer(false);
|
||||
$this->assertSame($result, Configure::read('App.fullBaseUrl') . '/some/path');
|
||||
|
||||
$_SERVER['HTTP_REFERER'] = Configure::read('App.fullBaseUrl') . '/some/path';
|
||||
$result = $request->referer(true);
|
||||
$this->assertSame($result, '/some/path');
|
||||
|
||||
$_SERVER['HTTP_REFERER'] = Configure::read('App.fullBaseUrl') . '/recipes/add';
|
||||
$result = $request->referer(true);
|
||||
$this->assertSame($result, '/recipes/add');
|
||||
|
|
Loading…
Reference in a new issue