aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/DateTimeFormatterTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/DateTimeFormatterTest.php')
-rw-r--r--tests/lib/DateTimeFormatterTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/DateTimeFormatterTest.php b/tests/lib/DateTimeFormatterTest.php
index fa8124ed35a..8f6dacd4678 100644
--- a/tests/lib/DateTimeFormatterTest.php
+++ b/tests/lib/DateTimeFormatterTest.php
@@ -78,7 +78,7 @@ class DateTimeFormatterTest extends TestCase {
* @dataProvider formatTimeSpanData
*/
public function testFormatTimeSpan($expected, $timestamp, $compare, $locale = null) {
- $this->assertEquals((string) $expected, (string) $this->formatter->formatTimeSpan($timestamp, $compare, $locale));
+ $this->assertEquals((string)$expected, (string)$this->formatter->formatTimeSpan($timestamp, $compare, $locale));
}
public function formatDateSpanData() {
@@ -144,7 +144,7 @@ class DateTimeFormatterTest extends TestCase {
* @dataProvider formatDateSpanData
*/
public function testFormatDateSpan($expected, $timestamp, $compare = null, $locale = null) {
- $this->assertEquals((string) $expected, (string) $this->formatter->formatDateSpan($timestamp, $compare, $locale));
+ $this->assertEquals((string)$expected, (string)$this->formatter->formatDateSpan($timestamp, $compare, $locale));
}
public function formatDateData() {
@@ -157,7 +157,7 @@ class DateTimeFormatterTest extends TestCase {
* @dataProvider formatDateData
*/
public function testFormatDate($timestamp, $expected) {
- $this->assertEquals($expected, (string) $this->formatter->formatDate($timestamp));
+ $this->assertEquals($expected, (string)$this->formatter->formatDate($timestamp));
}
public function formatDateTimeData() {
@@ -171,7 +171,7 @@ class DateTimeFormatterTest extends TestCase {
* @dataProvider formatDateTimeData
*/
public function testFormatDateTime($timestamp, $timeZone, $expected) {
- $this->assertEquals($expected, (string) $this->formatter->formatDateTime($timestamp, 'long', 'long', $timeZone));
+ $this->assertEquals($expected, (string)$this->formatter->formatDateTime($timestamp, 'long', 'long', $timeZone));
}