Commit 75a2dea3 authored by zYne's avatar zYne

Minor testcase fix

parent 593d5bb8
......@@ -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());
......
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