mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Don't remove csp.log in the cspClean action of mock.php
For some reason the current setup worked fine with Apache but broke for me when
I migrated to nginx.
Closes gh-4936
(cherry picked from commit 1019074f7b
)
This commit is contained in:
parent
f6f0720472
commit
ba81326ffd
@ -218,7 +218,6 @@ QUnit.assert.ok( true, "mock executed");';
|
|||||||
|
|
||||||
protected function cspClean( $req ) {
|
protected function cspClean( $req ) {
|
||||||
file_put_contents( $this->cspFile, '' );
|
file_put_contents( $this->cspFile, '' );
|
||||||
unlink( $this->cspFile );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function errorWithScript( $req ) {
|
protected function errorWithScript( $req ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user