Applying patch from 'rafaelbandeira3'. Removes redundant DS in path. Fixes #5902

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7946 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-12-19 23:30:13 +00:00
parent 0e458ff30b
commit a88aeef826

View file

@ -686,7 +686,7 @@ class CakeTestCase extends UnitTestCase {
if (strpos($fixture, 'core.') === 0) {
$fixture = substr($fixture, strlen('core.'));
foreach (Configure::corePaths('cake') as $key => $path) {
$fixturePaths[] = $path . DS . 'tests' . DS . 'fixtures';
$fixturePaths[] = $path . 'tests' . DS . 'fixtures';
}
} elseif (strpos($fixture, 'app.') === 0) {
$fixture = substr($fixture, strlen('app.'));