Skip to content

Commit 60d5e76

Browse files
committed
refactor: run rector and php-cs-fixer
1 parent 2183022 commit 60d5e76

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/system/HTTP/ContentSecurityPolicyTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace CodeIgniter\HTTP;
1313

1414
use CodeIgniter\Test\CIUnitTestCase;
15+
use CodeIgniter\Test\TestResponse;
1516
use Config\App;
1617
use Config\ContentSecurityPolicy as CSPConfig;
1718

@@ -534,7 +535,7 @@ public function testBodyScriptNonceDisableAutoNonce()
534535

535536
$this->assertStringContainsString('{csp-script-nonce}', $response->getBody());
536537

537-
$result = new \CodeIgniter\Test\TestResponse($response);
538+
$result = new TestResponse($response);
538539
$result->assertHeader('Content-Security-Policy');
539540
}
540541

@@ -553,7 +554,7 @@ public function testBodyStyleNonceDisableAutoNonce()
553554

554555
$this->assertStringContainsString('{csp-style-nonce}', $response->getBody());
555556

556-
$result = new \CodeIgniter\Test\TestResponse($response);
557+
$result = new TestResponse($response);
557558
$result->assertHeader('Content-Security-Policy');
558559
}
559560

0 commit comments

Comments
 (0)