From 55361320d46d461548a8e3b3c4383fbac480d6fd Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 1 Sep 2008 23:04:59 +0000 Subject: [PATCH] Adding tests to fixture test showing model imports. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7544 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/cake_test_fixture.test.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/cake_test_fixture.test.php b/cake/tests/cases/libs/cake_test_fixture.test.php index eb6dcd1e4..fc87ea3a5 100644 --- a/cake/tests/cases/libs/cake_test_fixture.test.php +++ b/cake/tests/cases/libs/cake_test_fixture.test.php @@ -152,8 +152,9 @@ class CakeTestFixtureTest extends CakeTestCase { $Fixture =& new CakeTestFixtureImportFixture(); $Fixture->fields = $Fixture->records = null; - $Fixture->import = array('FixtureImport'); + $Fixture->import = array('model' => 'FixtureImportTestModel'); $Fixture->init(); + $this->assertEqual(array_keys($Fixture->fields), array('id', 'name', 'created')); $Source->drop($this->db); }