This commit is contained in:
parent
004f3cb414
commit
f7a3c2f353
@ -78,6 +78,13 @@ class Doctrine_QueryTestCase extends Doctrine_UnitTestCase {
|
|||||||
$this->assertEqual($boards[0]->Threads->count(), 1);
|
$this->assertEqual($boards[0]->Threads->count(), 1);
|
||||||
$this->assertEqual(count($this->dbh), $count);
|
$this->assertEqual(count($this->dbh), $count);
|
||||||
$this->assertEqual($boards[0]->Threads[0]->Entries->count(), 1);
|
$this->assertEqual($boards[0]->Threads[0]->Entries->count(), 1);
|
||||||
|
|
||||||
|
$q->from("Forum_Board-l.Threads-l.Entries-i");
|
||||||
|
$this->assertEqual($boards->count(), 1);
|
||||||
|
$count = count($this->dbh);
|
||||||
|
$this->assertEqual($boards[0]->Threads->count(), 1);
|
||||||
|
$this->assertEqual(count($this->dbh), $count);
|
||||||
|
$this->assertEqual($boards[0]->Threads[0]->Entries->count(), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testQueryWithAliases() {
|
public function testQueryWithAliases() {
|
||||||
|
@ -23,7 +23,7 @@ error_reporting(E_ALL);
|
|||||||
$test = new GroupTest("Doctrine Framework Unit Tests");
|
$test = new GroupTest("Doctrine Framework Unit Tests");
|
||||||
|
|
||||||
//$test->addTestCase(new Sensei_UnitTestCase());
|
//$test->addTestCase(new Sensei_UnitTestCase());
|
||||||
/**
|
|
||||||
$test->addTestCase(new Doctrine_SessionTestCase());
|
$test->addTestCase(new Doctrine_SessionTestCase());
|
||||||
|
|
||||||
$test->addTestCase(new Doctrine_TableTestCase());
|
$test->addTestCase(new Doctrine_TableTestCase());
|
||||||
@ -45,7 +45,7 @@ $test->addTestCase(new Doctrine_ConfigurableTestCase());
|
|||||||
$test->addTestCase(new Doctrine_Collection_OffsetTestCase());
|
$test->addTestCase(new Doctrine_Collection_OffsetTestCase());
|
||||||
|
|
||||||
$test->addTestCase(new Doctrine_CollectionTestCase());
|
$test->addTestCase(new Doctrine_CollectionTestCase());
|
||||||
*/
|
|
||||||
$test->addTestCase(new Doctrine_QueryTestCase());
|
$test->addTestCase(new Doctrine_QueryTestCase());
|
||||||
|
|
||||||
//$test->addTestCase(new Doctrine_Cache_FileTestCase());
|
//$test->addTestCase(new Doctrine_Cache_FileTestCase());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user