Permalink
Browse files

update for newer version of PHPUnit

  • Loading branch information...
1 parent c3666fb commit acc0399e5d6517949b6cad1a26b7b48d150c4c96 root committed Apr 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 unit-tests/Property/TestProperties.php
@@ -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);

0 comments on commit acc0399

Please sign in to comment.