This commit is contained in:
parent
ea6c4a1889
commit
12379bda4a
@ -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()
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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()
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user