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
This commit is contained in:
Michał Gołębiowski-Owczarek 2021-09-30 00:08:47 +02:00 committed by GitHub
parent d225639a8e
commit 1019074f7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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