Changeset 4948

Show
Ignore:
Timestamp:
09/12/08 13:22:14 (10 months ago)
Author:
jwage
Message:

Fixing uncaught exception in test suite.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/tests/Ticket/1436TestCase.php

    r4903 r4948  
    132132            )); 
    133133 
    134         $user->synchronizeWithArray($userArray); 
     134        try { 
     135            $user->synchronizeWithArray($userArray); 
     136            $this->pass(); 
     137        } catch (Exception $e) { 
     138            $this->fail($e->getMessage()); 
     139        } 
     140         
    135141        $this->assertEqual($user->Group->count(), 1); 
    136142        $user->free();