We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b306fbc commit 3106970Copy full SHA for 3106970
1 file changed
tests/system/CommonFunctionsTest.php
@@ -50,7 +50,7 @@ final class CommonFunctionsTest extends CIUnitTestCase
50
protected function setUp(): void
51
{
52
unset($_ENV['foo'], $_SERVER['foo']);
53
- Services::reset();
+ $this->resetServices();
54
55
parent::setUp();
56
}
@@ -593,8 +593,6 @@ public function testTraceWithCSP()
593
594
public function testCspStyleNonce()
595
596
- $this->resetServices();
597
-
598
$config = config('App');
599
$config->CSPEnabled = true;
600
@@ -603,8 +601,6 @@ public function testCspStyleNonce()
603
601
604
602
public function testCspScriptNonce()
605
606
607
608
609
610
0 commit comments