Commit 11f9940d authored by pookey's avatar pookey

Refs #376

parent 1fcddf72
...@@ -66,6 +66,18 @@ class Doctrine_Enum_TestCase extends Doctrine_UnitTestCase ...@@ -66,6 +66,18 @@ class Doctrine_Enum_TestCase extends Doctrine_UnitTestCase
} }
} }
public function testEnumFetchArray() {
$q = new Doctrine_Query();
$q->select('e.*')
->from('EnumTest e')
->limit(1);
$ret = $q->execute(array(), Doctrine::FETCH_ARRAY);
if (is_numeric($ret[0]['status']))
{
$this->fail();
}
}
public function testInAndNotIn() public function testInAndNotIn()
{ {
try { try {
......
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