1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
zYne 2007-06-14 21:37:32 +00:00
parent ea6c4a1889
commit 12379bda4a
3 changed files with 16 additions and 2 deletions

View File

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

View File

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

View File

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