diff --git a/tests/Query/MultiJoin2TestCase.php b/tests/Query/MultiJoin2TestCase.php index 66532907d..7341c5db8 100644 --- a/tests/Query/MultiJoin2TestCase.php +++ b/tests/Query/MultiJoin2TestCase.php @@ -89,7 +89,7 @@ class Doctrine_Query_MultiJoin2_TestCase extends Doctrine_UnitTestCase $categories[0]->subCategories; $this->assertEqual($queryCount + 1, $this->connection->count()); } catch (Doctrine_Exception $e) { - $this->fail(); + $this->fail($e->getMessage()); } } @@ -109,7 +109,7 @@ class Doctrine_Query_MultiJoin2_TestCase extends Doctrine_UnitTestCase ->execute(array(), Doctrine::FETCH_ARRAY); $this->pass(); } catch (Doctrine_Exception $e) { - $this->fail(); + $this->fail($e->getMessage()); } } }