Minor testcase fix
This commit is contained in:
parent
593d5bb847
commit
75a2dea3b1
@ -976,7 +976,8 @@ class Doctrine_QueryTestCase extends Doctrine_UnitTestCase {
|
||||
$this->assertEqual($query->limit, 10);
|
||||
$this->assertTrue(strpos($query->getQuery(),"LIMIT"));
|
||||
|
||||
$query->limit = null;
|
||||
$query->remove('limit')->remove('offset');
|
||||
|
||||
$this->assertFalse(strpos($query->getQuery(),"LIMIT"));
|
||||
|
||||
$coll = $query->execute();
|
||||
|
@ -28,7 +28,7 @@ require_once("QueryLimitTestCase.php");
|
||||
error_reporting(E_ALL);
|
||||
|
||||
$test = new GroupTest("Doctrine Framework Unit Tests");
|
||||
/**
|
||||
|
||||
$test->addTestCase(new Doctrine_RecordTestCase());
|
||||
|
||||
$test->addTestCase(new Doctrine_SessionTestCase());
|
||||
@ -66,7 +66,7 @@ $test->addTestCase(new Doctrine_ValidatorTestCase());
|
||||
$test->addTestCase(new Doctrine_CollectionTestCase());
|
||||
|
||||
$test->addTestCase(new Doctrine_QueryTestCase());
|
||||
*/
|
||||
|
||||
$test->addTestCase(new Doctrine_Query_Limit_TestCase());
|
||||
|
||||
//$test->addTestCase(new Doctrine_Cache_FileTestCase());
|
||||
|
Loading…
x
Reference in New Issue
Block a user