Beispiel #1
0
 public function testCleanAllLogs()
 {
     $logFile = TestsHelpers::getLogDir() . "/test.log";
     file_put_contents($logFile, "fake content");
     $this->assertFileExists($logFile);
     TestsHelpers::cleanAllLogs();
     $this->assertFileNotExists($logFile);
 }