Permalink
Browse files

removed duplicate test case

Was exact duplicate of case starting line 692
  • Loading branch information...
1 parent 4ea6c15 commit 37c9832dc19ae4512058a18029ceb193ae6cfda6 @spiliot spiliot committed Sep 16, 2013
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/Cake/Test/Case/Network/CakeRequestTest.php
@@ -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');

0 comments on commit 37c9832

Please sign in to comment.