Commit 12379bda authored by zYne's avatar zYne

--no commit message

--no commit message
parent ea6c4a18
......@@ -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()
{
......
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