This commit is contained in:
parent
2f8c83983f
commit
5fba56bb6d
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user