Skip to content
Browse files

Fixing failing tests that started to fail because of

  • Loading branch information...
1 parent b2d67a2 commit 8eb8f53dee1686b276ccc64ebe71b279d42e9e5a @markstory markstory committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 cake/tests/cases/dispatcher.test.php
View
10 cake/tests/cases/dispatcher.test.php
@@ -1109,7 +1109,7 @@ function testBaseUrlAndWebrootWithBaseUrl() {
$result = $Dispatcher->baseUrl();
$expected = '/index.php';
$this->assertEqual($expected, $result);
- $expectedWebroot = '/';
+ $expectedWebroot = '/app/webroot/';
$this->assertEqual($expectedWebroot, $Dispatcher->webroot);
Configure::write('App.baseUrl', '/CakeBB/app/webroot/index.php');
@@ -1221,7 +1221,7 @@ function testMissingController() {
$controller = $Dispatcher->dispatch($url, array('return' => 1));
$expected = array('missingController', array(array(
'className' => 'SomeControllerController',
- 'webroot' => '/',
+ 'webroot' => '/app/webroot/',
'url' => 'some_controller/home/param:value/param2:value2',
'base' => '/index.php'
)));
@@ -1243,7 +1243,7 @@ function testPrivate() {
$expected = array('privateAction', array(array(
'className' => 'SomePagesController',
'action' => '_protected',
- 'webroot' => '/',
+ 'webroot' => '/app/webroot/',
'url' => 'some_pages/_protected/param:value/param2:value2',
'base' => '/index.php'
)));
@@ -1265,7 +1265,7 @@ function testMissingAction() {
$expected = array('missingAction', array(array(
'className' => 'SomePagesController',
'action' => 'home',
- 'webroot' => '/',
+ 'webroot' => '/app/webroot/',
'url' => '/index.php/some_pages/home/param:value/param2:value2',
'base' => '/index.php'
)));
@@ -1280,7 +1280,7 @@ function testMissingAction() {
$expected = array('missingAction', array(array(
'className' => 'SomePagesController',
'action' => 'redirect',
- 'webroot' => '/',
+ 'webroot' => '/app/webroot/',
'url' => '/index.php/some_pages/redirect/param:value/param2:value2',
'base' => '/index.php'
)));

0 comments on commit 8eb8f53

Please sign in to comment.
Something went wrong with that request. Please try again.