Skip to content
Permalink
Browse files

Fixing DS for Windows

  • Loading branch information...
renan committed Aug 6, 2009
1 parent 8d351d9 commit ff04c7668a44a03191cb69b54fbfbb3619c97e4d
@@ -85,7 +85,7 @@ function startTest() {
$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';
}
@@ -96,10 +96,10 @@ function endTest() {
* @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);
}

0 comments on commit ff04c76

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