1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
zYne 2007-09-12 21:08:11 +00:00
parent 2f8c83983f
commit 5fba56bb6d

View File

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