Author: jwage
Date: 2008-09-09 18:14:51 +0100 (Tue, 09 Sep 2008)
New Revision: 4901

Modified:
   branches/1.0/tests/Ticket/1380TestCase.php
Log:
Fixing uncaught exception.


Modified: branches/1.0/tests/Ticket/1380TestCase.php
===================================================================
--- branches/1.0/tests/Ticket/1380TestCase.php  2008-09-09 15:34:04 UTC (rev 
4900)
+++ branches/1.0/tests/Ticket/1380TestCase.php  2008-09-09 17:14:51 UTC (rev 
4901)
@@ -53,7 +53,12 @@
             ->leftJoin('u.Album a')
             ->limit(1);
         $user = $q->fetchOne();
-        $this->assertTrue(isset($user['test_calculated_column']));
-        $this->assertEqual($user['Album'][0]['test_calculated_column'], 
$user['test_calculated_column']);
+        try {
+            $this->assertTrue(isset($user['test_calculated_column']));
+            $this->assertEqual($user['Album'][0]['test_calculated_column'], 
$user['test_calculated_column']);
+            $this->pass();
+        } catch (Exception $e) {
+            $this->fail($e->getMessage());
+        }
     }
 }
\ No newline at end of file


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to