Skip to content
Permalink
Browse files

Fixing faulty test

  • Loading branch information...
lorenzo committed Jun 16, 2013
1 parent 627e7f7 commit 66e5fe5739d437a2f691a2bc510c6cb28b43117e
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/TestCase/Network/RequestTest.php
@@ -1085,7 +1085,7 @@ public function testBaseUrlAndWebrootWithModRewrite() {
Configure::write('App.baseUrl', false);
$_SERVER['DOCUMENT_ROOT'] = '/cake/repo/branches';
$_SERVER['PHP_SELF'] = '/urlencode me/app/webroot/index.php';
$_SERVER['PHP_SELF'] = '/urlencode me/App/webroot/index.php';
$_SERVER['PATH_INFO'] = '/posts/view/1';
$request = Request::createFromGlobals();
@@ -1094,7 +1094,7 @@ public function testBaseUrlAndWebrootWithModRewrite() {
$this->assertEquals('posts/view/1', $request->url);
$_SERVER['DOCUMENT_ROOT'] = '/cake/repo/branches';
$_SERVER['PHP_SELF'] = '/1.2.x.x/app/webroot/index.php';
$_SERVER['PHP_SELF'] = '/1.2.x.x/App/webroot/index.php';
$_SERVER['PATH_INFO'] = '/posts/view/1';
$request = Request::createFromGlobals();

0 comments on commit 66e5fe5

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