Navigation Menu

Skip to content

Commit

Permalink
removed duplicate test case
Browse files Browse the repository at this point in the history
Was exact duplicate of case starting line 692
  • Loading branch information
spiliot committed Sep 16, 2013
1 parent 4ea6c15 commit 37c9832
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Cake/Test/Case/Network/CakeRequestTest.php
Expand Up @@ -697,10 +697,6 @@ public function testReferer() {
$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');
Expand Down

0 comments on commit 37c9832

Please sign in to comment.