1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
pookey 2007-06-29 21:52:18 +00:00
parent 1fcddf7252
commit 11f9940db2

View File

@ -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 {