Commit 8d483750 authored by njero's avatar njero

Njero Test shows the dangers of hasOne

parent 42104528
...@@ -148,7 +148,6 @@ class Doctrine_TicketNjero_TestCase extends Doctrine_UnitTestCase ...@@ -148,7 +148,6 @@ class Doctrine_TicketNjero_TestCase extends Doctrine_UnitTestCase
$this->assertEqual($p->RateN->policy_code, 1); $this->assertEqual($p->RateN->policy_code, 1);
$this->assertEqual($p->RateN->coverage_code, 3); $this->assertEqual($p->RateN->coverage_code, 3);
$this->assertEqual($p->RateN->liability_code, 1); $this->assertEqual($p->RateN->liability_code, 1);
echo "The following should be '3' or there should have been an assertion failure: " . $p->RateN->coverage_code . "\n";
} }
}?> }?>
......
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