From c290e10dd3cb2b91572c47879dfda60146f17e7f Mon Sep 17 00:00:00 2001 From: "mariano.iglesias" Date: Wed, 18 Apr 2007 00:27:56 +0000 Subject: [PATCH] Fixing small issues git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4875 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/lib/cake_test_case.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/tests/lib/cake_test_case.php b/cake/tests/lib/cake_test_case.php index 701ed4745..d3c9283e0 100644 --- a/cake/tests/lib/cake_test_case.php +++ b/cake/tests/lib/cake_test_case.php @@ -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(