File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function testGetZendDate()
5858 {
5959 $ entity = $ this ->em ->find ('DoctrineExtensions\Tests\Entities\ZendDate ' , 1 );
6060
61- $ this ->assertTrue ( $ entity ->date instanceof \Zend_Date );
61+ $ this ->assertInstanceOf ( ' Zend_Date ' , $ entity ->date );
6262 $ this ->assertTrue ($ entity ->date ->equals (new \Zend_Date (array (
6363 'year ' => 2012 , 'month ' => 11 , 'day ' => 10 ,
6464 'hour ' => 9 , 'minute ' => 8 , 'second ' => 7
@@ -78,7 +78,7 @@ public function testSetZendDate()
7878
7979 $ entity = $ this ->em ->find ('DoctrineExtensions\Tests\Entities\ZendDate ' , 2 );
8080
81- $ this ->assertTrue ( $ entity ->date instanceof \Zend_Date );
81+ $ this ->assertInstanceOf ( ' Zend_Date ' , $ entity ->date );
8282 $ this ->assertTrue ($ entity ->date ->equals ($ zendDate ));
8383 }
8484
You can’t perform that action at this time.
0 commit comments