Commit 5fba56bb authored by zYne's avatar zYne

--no commit message

--no commit message
parent 2f8c8398
...@@ -64,10 +64,10 @@ class Doctrine_Ticket_Njero_TestCase extends Doctrine_UnitTestCase ...@@ -64,10 +64,10 @@ class Doctrine_Ticket_Njero_TestCase extends Doctrine_UnitTestCase
# $p = $q->from('PolicyN p') # $p = $q->from('PolicyN p')
# this test passes, but there is another issue just not reflected in this test yet, see "in my app" note below # this test passes, but there is another issue just not reflected in this test yet, see "in my app" note below
$p = $q->from('PolicyN p, p.RateN r, r.PolicyCodeN y, r.CoverageCodeN c, r.LiabilityCodeN l') $q->from('PolicyN p, p.RateN r, r.PolicyCodeN y, r.CoverageCodeN c, r.LiabilityCodeN l')
->where('(p.id = ?)', array('1')) ->where('(p.id = ?)', array('1'));
->execute()
->getFirst(); $p = $q->execute()->getFirst();
$this->assertEqual($p->rate_id, 1); $this->assertEqual($p->rate_id, 1);
$this->assertEqual($p->RateN->id, 1); $this->assertEqual($p->RateN->id, 1);
......
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