Author: jwage
Date: 2008-09-12 14:22:14 +0100 (Fri, 12 Sep 2008)
New Revision: 4948

Modified:
   branches/1.0/tests/Ticket/1436TestCase.php
Log:
Fixing uncaught exception in test suite.


Modified: branches/1.0/tests/Ticket/1436TestCase.php
===================================================================
--- branches/1.0/tests/Ticket/1436TestCase.php  2008-09-12 13:16:05 UTC (rev 
4947)
+++ branches/1.0/tests/Ticket/1436TestCase.php  2008-09-12 13:22:14 UTC (rev 
4948)
@@ -131,7 +131,13 @@
                     )
             ));
 
-        $user->synchronizeWithArray($userArray);
+        try {
+            $user->synchronizeWithArray($userArray);
+            $this->pass();
+        } catch (Exception $e) {
+            $this->fail($e->getMessage());
+        }
+        
         $this->assertEqual($user->Group->count(), 1);
         $user->free();
 


--~--~---------~--~----~------------~-------~--~----~
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