From 5fba56bb6d4f6824691c36544f4b7968d60aec9d Mon Sep 17 00:00:00 2001 From: zYne Date: Wed, 12 Sep 2007 21:08:11 +0000 Subject: [PATCH] --- tests/Ticket/NjeroTestCase.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Ticket/NjeroTestCase.php b/tests/Ticket/NjeroTestCase.php index 26d63b43b..ea4f64bb1 100644 --- a/tests/Ticket/NjeroTestCase.php +++ b/tests/Ticket/NjeroTestCase.php @@ -1,4 +1,4 @@ -from('PolicyN p') # 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') - ->where('(p.id = ?)', array('1')) - ->execute() - ->getFirst(); + $q->from('PolicyN p, p.RateN r, r.PolicyCodeN y, r.CoverageCodeN c, r.LiabilityCodeN l') + ->where('(p.id = ?)', array('1')); + + $p = $q->execute()->getFirst(); $this->assertEqual($p->rate_id, 1); $this->assertEqual($p->RateN->id, 1);