From: Michał Gołębiowski-Owczarek Date: Wed, 29 Sep 2021 22:08:47 +0000 (+0200) Subject: Tests: Don't remove csp.log in the cspClean action of mock.php X-Git-Tag: 4.0.0-beta~129 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1019074f7b1df96ee9d6409ada3dc0562046f6c7;p=jquery.git 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 --- 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 ) {