aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-09-30 00:08:47 +0200
committerGitHub <noreply@github.com>2021-09-30 00:08:47 +0200
commit1019074f7b1df96ee9d6409ada3dc0562046f6c7 (patch)
tree28acd582f71b9d0c5805bc069859be6242d155a1
parentd225639a8ea62863482bd20249077688f60235db (diff)
downloadjquery-1019074f7b1df96ee9d6409ada3dc0562046f6c7.tar.gz
jquery-1019074f7b1df96ee9d6409ada3dc0562046f6c7.zip
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
-rw-r--r--test/data/mock.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/data/mock.php b/test/data/mock.php
index 2e90de6d3..d0ed6f2c1 100644
--- a/test/data/mock.php
+++ b/test/data/mock.php
@@ -239,7 +239,6 @@ QUnit.assert.ok( true, "mock executed");';
protected function cspClean( $req ) {
file_put_contents( $this->cspFile, '' );
- unlink( $this->cspFile );
}
protected function errorWithScript( $req ) {