Skip to content

Commit fe5c5d5

Browse files
committed
Add a test teardown to prevent further tests from failing
1 parent 5577b9c commit fe5c5d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Integration/Foundation/SyncLocaleTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77

88
class SyncLocaleTest extends TestCase
99
{
10+
protected function tearDown(): void
11+
{
12+
$this->app->shouldSyncLocale(false);
13+
$this->app->setLocale('en');
14+
15+
parent::tearDown();
16+
}
17+
1018
public function testItShouldSyncLocale()
1119
{
1220
$this->app->shouldSyncLocale();

0 commit comments

Comments
 (0)