Permalink
Browse files

updating for new version of PHPUnit

  • Loading branch information...
1 parent f143462 commit 5db96c87805df7f77be45260c3d69b8a8f33fc6a Jonthan Moss committed Apr 30, 2011
Showing with 4 additions and 1 deletion.
  1. +3 −0 .gitignore
  2. +1 −1 unit-tests/property/TestProperties.php
View
3 .gitignore
@@ -1,3 +1,6 @@
nbproject
+.buildpath
+.project
+.settings/
Morph.phar
doc/*
View
2 unit-tests/property/TestProperties.php
@@ -112,7 +112,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 5db96c8

Please sign in to comment.