Commit ebdfbcb7 authored by zYne's avatar zYne

--no commit message

--no commit message
parent adc870d2
...@@ -98,7 +98,7 @@ class Doctrine_Collection_TestCase extends Doctrine_UnitTestCase ...@@ -98,7 +98,7 @@ class Doctrine_Collection_TestCase extends Doctrine_UnitTestCase
$this->assertEqual($coll->count(), 1); $this->assertEqual($coll->count(), 1);
$this->assertEqual($coll[0]->name, 'zYne'); $this->assertEqual($coll[0]->name, 'zYne');
} }
*/
public function testLoadRelatedForNormalAssociation() public function testLoadRelatedForNormalAssociation()
{ {
...@@ -130,7 +130,7 @@ class Doctrine_Collection_TestCase extends Doctrine_UnitTestCase ...@@ -130,7 +130,7 @@ class Doctrine_Collection_TestCase extends Doctrine_UnitTestCase
$this->assertEqual($resource[1]->Type[1]->type, 'type 4'); $this->assertEqual($resource[1]->Type[1]->type, 'type 4');
$this->assertEqual(($count + 1), $this->dbh->count()); $this->assertEqual(($count + 1), $this->dbh->count());
} }
*/
public function testAdd() public function testAdd()
{ {
$coll = new Doctrine_Collection($this->objTable); $coll = new Doctrine_Collection($this->objTable);
...@@ -232,7 +232,7 @@ class Doctrine_Collection_TestCase extends Doctrine_UnitTestCase ...@@ -232,7 +232,7 @@ class Doctrine_Collection_TestCase extends Doctrine_UnitTestCase
} }
public function testExpand() public function testExpand()
{ {
$users = $this->connection->query("FROM User-b.Phonenumber-l WHERE User.Phonenumber.phonenumber LIKE '%123%'"); $users = $this->connection->query("FROM User.Phonenumber WHERE User.Phonenumber.phonenumber LIKE '%123%'");
$this->assertTrue($users instanceof Doctrine_Collection_Batch); $this->assertTrue($users instanceof Doctrine_Collection_Batch);
$this->assertTrue($users[1] instanceof User); $this->assertTrue($users[1] instanceof User);
......
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