diff --git a/cake/tests/cases/console/libs/tasks/db_config.test.php b/cake/tests/cases/console/libs/tasks/db_config.test.php index 2c93225f7..a637c8403 100644 --- a/cake/tests/cases/console/libs/tasks/db_config.test.php +++ b/cake/tests/cases/console/libs/tasks/db_config.test.php @@ -85,7 +85,7 @@ class DbConfigTaskTest extends CakeTestCase { $this->Task->Dispatch =& $this->Dispatcher; $this->Task->Dispatch->shellPaths = App::path('shells'); - $this->Task->params['working'] = rtrim(APP, '/'); + $this->Task->params['working'] = rtrim(APP, DS); $this->Task->databaseClassName = 'TEST_DATABASE_CONFIG'; } diff --git a/cake/tests/cases/console/libs/tasks/fixture.test.php b/cake/tests/cases/console/libs/tasks/fixture.test.php index 4301f71c4..71873155f 100644 --- a/cake/tests/cases/console/libs/tasks/fixture.test.php +++ b/cake/tests/cases/console/libs/tasks/fixture.test.php @@ -96,10 +96,10 @@ class FixtureTaskTest extends CakeTestCase { * @return void **/ function testConstruct() { - $this->Dispatch->params['working'] = '/my/path'; + $this->Dispatch->params['working'] = DS . 'my' . DS . 'path'; $Task =& new FixtureTask($this->Dispatch); - $expected = '/my/path/tests/fixtures/'; + $expected = DS . 'my' . DS . 'path' . DS . 'tests' . DS . 'fixtures' . DS; $this->assertEqual($Task->path, $expected); }