mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
11d588ff15
commit
c290e10dd3
1 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ class CakeTestCase extends UnitTestCase {
|
||||||
|
|
||||||
if ($object !== false) {
|
if ($object !== false) {
|
||||||
$object->useDbConfig = 'test_suite';
|
$object->useDbConfig = 'test_suite';
|
||||||
$object->setSource($object->table);
|
$object->setDataSource();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -449,7 +449,7 @@ class CakeTestCase extends UnitTestCase {
|
||||||
} else if (strpos($fixture, 'app.') === 0) {
|
} else if (strpos($fixture, 'app.') === 0) {
|
||||||
$fixture = substr($fixture, strlen('app.'));
|
$fixture = substr($fixture, strlen('app.'));
|
||||||
$fixturePaths = array(
|
$fixturePaths = array(
|
||||||
TESTS . 'fixtures'
|
APP . 'tests' . DS . 'fixtures'
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$fixturePaths = array(
|
$fixturePaths = array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue