Commit 991d56f8 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 88f60a02
......@@ -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);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment