Fix mock storage for airports

This commit is contained in:
Nabeel Shahzad 2018-03-30 21:25:54 -05:00
parent 71da25eca5
commit a3bfcf01b7

View File

@ -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']);
} }