1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Fixed enum test case

This commit is contained in:
zYne 2006-09-26 21:32:00 +00:00
parent e3f5aa9fb2
commit a1d3e137f2

View File

@ -13,11 +13,11 @@ class Doctrine_EnumTestCase extends Doctrine_UnitTestCase {
$test->save();
$query = new Doctrine_Query($this->connection);
$ret = $query->query('FROM EnumTest WHERE EnumTest.status = ?', array('open'));
$ret = $query->query('FROM EnumTest WHERE EnumTest.status = ?', array('open'));
$this->assertEqual(count($ret), 1);
$query = new Doctrine_Query($this->connection);
$ret = $query->query('FROM EnumTest WHERE EnumTest.status = "open"');
$ret = $query->query('FROM EnumTest WHERE EnumTest.status = open');
$this->assertEqual(count($ret), 1);