From 12379bda4a0970e2c851648f249529102ff2e1b1 Mon Sep 17 00:00:00 2001 From: zYne Date: Thu, 14 Jun 2007 21:37:32 +0000 Subject: [PATCH] --- tests/Query/JoinTestCase.php | 4 ++++ tests/Query/MultiJoin2TestCase.php | 8 ++++++-- tests/Query/MultiJoinTestCase.php | 6 ++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/tests/Query/JoinTestCase.php b/tests/Query/JoinTestCase.php index 03de5549f..0389ae9db 100644 --- a/tests/Query/JoinTestCase.php +++ b/tests/Query/JoinTestCase.php @@ -34,6 +34,10 @@ class Doctrine_Query_Join_TestCase extends Doctrine_UnitTestCase { public function prepareTables() { + $this->tables = array('Record_Country', 'Record_City', 'Record_District', 'Entity', + 'User', 'Group', 'Email', 'Phonenumber', 'Groupuser', 'Account'); + + parent::prepareTables(); } public function prepareData() { diff --git a/tests/Query/MultiJoin2TestCase.php b/tests/Query/MultiJoin2TestCase.php index 0f9e7dc54..29e445200 100644 --- a/tests/Query/MultiJoin2TestCase.php +++ b/tests/Query/MultiJoin2TestCase.php @@ -35,7 +35,11 @@ class Doctrine_Query_MultiJoin2_TestCase extends Doctrine_UnitTestCase public function prepareData() { } public function prepareTables() - { } + { + $this->tables = array('QueryTest_Category', 'QueryTest_Board', 'QueryTest_User', 'QueryTest_Entry'); + + parent::prepareTables(); + } public function testInitializeData() { $query = new Doctrine_Query($this->connection); @@ -57,7 +61,7 @@ class Doctrine_Query_MultiJoin2_TestCase extends Doctrine_UnitTestCase $author = new QueryTest_User(); $author->username = "romanb"; $author->save(); - + $lastEntry = new QueryTest_Entry(); $lastEntry->authorId = $author->id; $lastEntry->date = 1234; diff --git a/tests/Query/MultiJoinTestCase.php b/tests/Query/MultiJoinTestCase.php index 1ff458bf9..09e161a77 100644 --- a/tests/Query/MultiJoinTestCase.php +++ b/tests/Query/MultiJoinTestCase.php @@ -32,6 +32,12 @@ */ class Doctrine_Query_MultiJoin_TestCase extends Doctrine_UnitTestCase { + public function prepareTables() + { + $this->tables[] = 'Book'; + $this->tables[] = 'Author'; + parent::prepareTables(); + } public function testInitializeData() {