From a9bafdedb419687be414e70f1153f5c2abb19482 Mon Sep 17 00:00:00 2001 From: "mariano.iglesias" Date: Fri, 9 Nov 2007 02:04:42 +0000 Subject: [PATCH] Removing forcing of table name for CakeTestFixture when importing schema and records from existing model. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5972 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/lib/cake_test_fixture.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/cake/tests/lib/cake_test_fixture.php b/cake/tests/lib/cake_test_fixture.php index cac53a295..d825867cd 100644 --- a/cake/tests/lib/cake_test_fixture.php +++ b/cake/tests/lib/cake_test_fixture.php @@ -54,7 +54,6 @@ class CakeTestFixture extends Object { * */ function init() { - if (isset($this->import) && (is_string($this->import) || is_array($this->import))) { $import = array(); @@ -70,7 +69,6 @@ class CakeTestFixture extends Object { $model =& new $import['model']; $db =& ConnectionManager::getDataSource($model->useDbConfig); $db->cacheSources = false; - $this->table = $this->useTable; $this->fields = $model->schema(true); $this->fields[$model->primaryKey]['key'] = 'primary'; } elseif (isset($import['table'])) {