We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e2e401 commit 5857bcdCopy full SHA for 5857bcd
tests/system/I18n/TimeTest.php
@@ -1128,16 +1128,13 @@ public function testUnserializeTimeObject()
1128
1129
public function testSetTestNowWithFaLocale()
1130
{
1131
- $currentLocale = Locale::getDefault();
1132
Locale::setDefault('fa');
1133
1134
Time::setTestNow('2017/03/10 12:00', 'Asia/Tokyo');
1135
1136
$now = Time::now()->format('c');
1137
1138
$this->assertSame('2017-03-10T12:00:00+09:00', $now);
1139
-
1140
- Locale::setDefault($currentLocale);
1141
}
1142
1143
/**
0 commit comments