Fix mock storage for airports
This commit is contained in:
parent
71da25eca5
commit
a3bfcf01b7
@ -264,8 +264,8 @@ class ImporterTest extends TestCase
|
|||||||
|
|
||||||
$importer = app(\App\Services\ImportService::class);
|
$importer = app(\App\Services\ImportService::class);
|
||||||
$exporter = app(\App\Services\ExportService::class);
|
$exporter = app(\App\Services\ExportService::class);
|
||||||
$file = $exporter->exportAirport(collect([$airport]));
|
$file = $exporter->exportAirports(collect([$airport]));
|
||||||
$status = $importer->importAirport($file);
|
$status = $importer->importAirports($file);
|
||||||
$this->assertCount(1, $status['success']);
|
$this->assertCount(1, $status['success']);
|
||||||
$this->assertCount(0, $status['errors']);
|
$this->assertCount(0, $status['errors']);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user