aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-09-30 00:08:47 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-09-30 00:31:27 +0200
commitba81326ffdf60f294c08c7b76168946930736633 (patch)
tree8ee2fb820a097b2cd936982b53a22215e2a1527e /test/data
parentf6f07204727c7dd2904c2f3dfb1c929a1eae8282 (diff)
downloadjquery-ba81326ffdf60f294c08c7b76168946930736633.tar.gz
jquery-ba81326ffdf60f294c08c7b76168946930736633.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 (cherry picked from commit 1019074f7b1df96ee9d6409ada3dc0562046f6c7)
Diffstat (limited to 'test/data')
-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 ca7a98572..604df23f6 100644
--- a/test/data/mock.php
+++ b/test/data/mock.php
@@ -218,7 +218,6 @@ QUnit.assert.ok( true, "mock executed");';
protected function cspClean( $req ) {
file_put_contents( $this->cspFile, '' );
- unlink( $this->cspFile );
}
protected function errorWithScript( $req ) {