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 cbb953c commit 9a624cdCopy full SHA for 9a624cd
1 file changed
tests/system/HTTP/CorsTest.php
@@ -14,14 +14,22 @@
14
namespace CodeIgniter\HTTP;
15
16
use CodeIgniter\Test\CIUnitTestCase;
17
+use PHPUnit\Framework\Attributes\BackupGlobals;
18
use PHPUnit\Framework\Attributes\Group;
19
20
/**
21
* @internal
22
*/
23
+#[BackupGlobals(true)]
24
#[Group('Others')]
25
final class CorsTest extends CIUnitTestCase
26
{
27
+ protected function setUp(): void
28
+ {
29
+ $this->resetServices();
30
+ parent::setUp();
31
+ }
32
+
33
34
* @param array{
35
* allowedOrigins?: list<string>,
0 commit comments