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:
Michał Gołębiowski-Owczarek 2021-09-30 00:08:47 +02:00 committed by Michał Gołębiowski-Owczarek
parent f6f0720472
commit ba81326ffd

View File

@ -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 ) {