Skip to content

Commit

Permalink
Tests: Don't remove csp.log in the cspClean action of mock.php
Browse files Browse the repository at this point in the history
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 1019074)
  • Loading branch information
mgol committed Sep 29, 2021
1 parent f6f0720 commit ba81326
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/data/mock.php
Expand Up @@ -218,7 +218,6 @@ protected function cspLog( $req ) {

protected function cspClean( $req ) {
file_put_contents( $this->cspFile, '' );
unlink( $this->cspFile );
}

protected function errorWithScript( $req ) {
Expand Down

0 comments on commit ba81326

Please sign in to comment.