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()
52
52
$ expected = $ datePoint ->format ('Y-m-d H:i:s ' );
53
53
$ actual = $ this ->type ->convertToDatabaseValue ($ datePoint , new PostgreSQLPlatform ());
54
54
55
- $ this ->assertEquals ($ expected , $ actual );
55
+ $ this ->assertSame ($ expected , $ actual );
56
56
}
57
57
58
58
public function testDatePointConvertsToPHPValue ()
@@ -78,11 +78,11 @@ public function testDateTimeImmutableConvertsToPHPValue()
78
78
$ actual = $ this ->type ->convertToPHPValue ($ dateTime , new SqlitePlatform ());
79
79
$ expected = DatePoint::createFromInterface ($ dateTime );
80
80
81
- $ this ->assertEquals ($ expected ->format ($ format ), $ actual ->format ($ format ));
81
+ $ this ->assertSame ($ expected ->format ($ format ), $ actual ->format ($ format ));
82
82
}
83
83
84
84
public function testGetName ()
85
85
{
86
- $ this ->assertEquals ('date_point ' , $ this ->type ->getName ());
86
+ $ this ->assertSame ('date_point ' , $ this ->type ->getName ());
87
87
}
88
88
}
You can’t perform that action at this time.
0 commit comments