deleteBackupFiles() public method

Delete backup files
public deleteBackupFiles ( string $lang_folder_path, integer $days, boolean | false $dryRun = false, string $ext = 'php' ) : boolean
$lang_folder_path string
$days integer
$dryRun boolean | false
$ext string
return boolean
 /**
  * Error when days is negative
  */
 public function testErrorDaysNegative()
 {
     /** @noinspection PhpVoidFunctionResultUsedInspection */
     $return = Artisan::call('localization:clear', array('--days' => -3));
     $this->assertEquals(1, $return);
     $manager = new Localization(new MessageBag());
     $this->assertFalse($manager->deleteBackupFiles('', -3, true));
 }