Skip to content

Commit 1019074

Browse files
authored
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
1 parent d225639 commit 1019074

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/data/mock.php

-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ protected function cspLog( $req ) {
239239

240240
protected function cspClean( $req ) {
241241
file_put_contents( $this->cspFile, '' );
242-
unlink( $this->cspFile );
243242
}
244243

245244
protected function errorWithScript( $req ) {

0 commit comments

Comments
 (0)