protected function resetData()
{
// Make sure we have a fresh database.
@unlink(__DIR__ . '/../../database/e2e.sqlite');
touch(__DIR__ . '/../../database/e2e.sqlite');
Artisan::call('migrate');
Artisan::call('db:seed');
Artisan::call('db:seed', ['--class' => 'E2EDataSeeder']);
if (!file_exists($this->coverPath)) {
@mkdir($this->coverPath, 0777, true);
}
}