Fixing small issues

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4875 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2007-04-18 00:27:56 +00:00
parent 11d588ff15
commit c290e10dd3

View file

@ -184,7 +184,7 @@ class CakeTestCase extends UnitTestCase {
if ($object !== false) {
$object->useDbConfig = 'test_suite';
$object->setSource($object->table);
$object->setDataSource();
}
}
}
@ -449,7 +449,7 @@ class CakeTestCase extends UnitTestCase {
} else if (strpos($fixture, 'app.') === 0) {
$fixture = substr($fixture, strlen('app.'));
$fixturePaths = array(
TESTS . 'fixtures'
APP . 'tests' . DS . 'fixtures'
);
} else {
$fixturePaths = array(