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

Minor testcase fix

This commit is contained in:
zYne 2006-08-16 09:21:47 +00:00
parent 593d5bb847
commit 75a2dea3b1
2 changed files with 4 additions and 3 deletions

View File

@ -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();

View File

@ -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());