From 74653e5facc5895ef51b2e2314c4c0af56197005 Mon Sep 17 00:00:00 2001 From: "mariano.iglesias" Date: Fri, 13 Apr 2007 05:23:29 +0000 Subject: [PATCH] Removed unneeded variable git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4855 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/lib/cake_test_fixture.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cake/tests/lib/cake_test_fixture.php b/cake/tests/lib/cake_test_fixture.php index 4182b97a1..9018617e6 100644 --- a/cake/tests/lib/cake_test_fixture.php +++ b/cake/tests/lib/cake_test_fixture.php @@ -45,9 +45,8 @@ class CakeTestFixture extends Object { $this->db =& $db; if (isset($this->import) && (is_string($this->import) || is_array($this->import))) { - $debug = Configure::read(); - $import = array(); + if (is_string($this->import) || is_array($this->import) && isset($this->import['model'])) { $import = am(array('records' => false), ife(is_array($this->import), $this->import, array()));