File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Bridge/Doctrine/Tests/Types Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function testDatePointConvertsToDatabaseValue()
5252 $ expected = $ datePoint ->format ('Y-m-d H:i:s ' );
5353 $ actual = $ this ->type ->convertToDatabaseValue ($ datePoint , new PostgreSQLPlatform ());
5454
55- $ this ->assertEquals ($ expected , $ actual );
55+ $ this ->assertSame ($ expected , $ actual );
5656 }
5757
5858 public function testDatePointConvertsToPHPValue ()
@@ -78,11 +78,11 @@ public function testDateTimeImmutableConvertsToPHPValue()
7878 $ actual = $ this ->type ->convertToPHPValue ($ dateTime , new SqlitePlatform ());
7979 $ expected = DatePoint::createFromInterface ($ dateTime );
8080
81- $ this ->assertEquals ($ expected ->format ($ format ), $ actual ->format ($ format ));
81+ $ this ->assertSame ($ expected ->format ($ format ), $ actual ->format ($ format ));
8282 }
8383
8484 public function testGetName ()
8585 {
86- $ this ->assertEquals ('date_point ' , $ this ->type ->getName ());
86+ $ this ->assertSame ('date_point ' , $ this ->type ->getName ());
8787 }
8888}
You can’t perform that action at this time.
0 commit comments