Skip to content

Commit 5857bcd

Browse files
committed
test: remove unneeded code
setUp()/tearDown() take care of it.
1 parent 3e2e401 commit 5857bcd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/system/I18n/TimeTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,16 +1128,13 @@ public function testUnserializeTimeObject()
11281128

11291129
public function testSetTestNowWithFaLocale()
11301130
{
1131-
$currentLocale = Locale::getDefault();
11321131
Locale::setDefault('fa');
11331132

11341133
Time::setTestNow('2017/03/10 12:00', 'Asia/Tokyo');
11351134

11361135
$now = Time::now()->format('c');
11371136

11381137
$this->assertSame('2017-03-10T12:00:00+09:00', $now);
1139-
1140-
Locale::setDefault($currentLocale);
11411138
}
11421139

11431140
/**

0 commit comments

Comments
 (0)