From 991d56f82cecda669afb66b5c5c36989f764700a Mon Sep 17 00:00:00 2001 From: zYne Date: Thu, 6 Sep 2007 21:05:39 +0000 Subject: [PATCH] --- tests/Hydrate/FetchModeTestCase.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/Hydrate/FetchModeTestCase.php b/tests/Hydrate/FetchModeTestCase.php index 5b53881ad..5e84c20d7 100644 --- a/tests/Hydrate/FetchModeTestCase.php +++ b/tests/Hydrate/FetchModeTestCase.php @@ -150,14 +150,14 @@ class Doctrine_Hydrate_FetchMode_TestCase extends Doctrine_UnitTestCase public function testFetchArrayNull() { - $u = new User(); - $u->name = "fetch_array_test"; - $u->created = null; - $u->save(); - - $q = new Doctrine_Query(); - $q->select('u.*')->from('User u')->where('u.id = ?'); - $users = $q->execute(array($u->id), Doctrine::HYDRATE_ARRAY); - $this->assertEqual($users[0]['created'], null); + $u = new User(); + $u->name = "fetch_array_test"; + $u->created = null; + $u->save(); + + $q = new Doctrine_Query(); + $q->select('u.*')->from('User u')->where('u.id = ?'); + $users = $q->execute(array($u->id), Doctrine::HYDRATE_ARRAY); + $this->assertEqual($users[0]['created'], null); } }