Skip to content

Commit

Permalink
Fixing failing tests that started to fail because of
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 27, 2011
1 parent b2d67a2 commit 8eb8f53
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cake/tests/cases/dispatcher.test.php
Expand Up @@ -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');
Expand Down Expand Up @@ -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'
)));
Expand All @@ -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'
)));
Expand All @@ -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'
)));
Expand All @@ -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'
)));
Expand Down

0 comments on commit 8eb8f53

Please sign in to comment.