Skip to content

Commit

Permalink
update for newer version of PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 30, 2011
1 parent c3666fb commit acc0399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit-tests/Property/TestProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function testDateProperty()
$this->assertEquals($time, $property->getValue());

//check the output type is correct
$this->assertType('MongoDate', $property->__getRawValue());
$this->assertInstanceOf('MongoDate', $property->__getRawValue());

//check the MorphDate objects content is correct
$this->assertEquals($time, $property->__getRawValue()->sec);
Expand Down

0 comments on commit acc0399

Please sign in to comment.