Fixed enum test case
This commit is contained in:
parent
e3f5aa9fb2
commit
a1d3e137f2
@ -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);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user