From 1019074f7b1df96ee9d6409ada3dc0562046f6c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Thu, 30 Sep 2021 00:08:47 +0200 Subject: [PATCH] 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 --- test/data/mock.php | 1 - 1 file changed, 1 deletion(-) 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 ) { -- 2.39.5