Skip to content

Commit 01a87d6

Browse files
committed
Reset trusted proxy test state
1 parent 166a0bc commit 01a87d6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tests/Feature/TrustedProxiesTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111

1212
class TrustedProxiesTest extends TestCase
1313
{
14+
protected function tearDown(): void
15+
{
16+
TrustProxies::flushState();
17+
18+
parent::tearDown();
19+
}
20+
1421
protected function trustAllProxies(Application $app): void
1522
{
1623
$app['config']->set('cachet.trusted_proxies', '*');

0 commit comments

Comments
 (0)