diff --git a/app/Services/ImportExport/AirportImporter.php b/app/Services/ImportExport/AirportImporter.php index aee4a2ca..605e9707 100644 --- a/app/Services/ImportExport/AirportImporter.php +++ b/app/Services/ImportExport/AirportImporter.php @@ -18,8 +18,8 @@ class AirportImporter extends ImportExport * Should match the database fields, for the most part */ public static $columns = [ - 'iata', 'icao', + 'iata', 'name', 'location', 'country', diff --git a/tests/data/airports.csv b/tests/data/airports.csv index 31778f19..6482b8d2 100644 --- a/tests/data/airports.csv +++ b/tests/data/airports.csv @@ -1,2 +1,2 @@ -iata,icao,name,location,country,timezone,hub,lat,lon -AUS,KAUS,Austin-Bergstrom,"Austin, Texas, USA", United States,America/Chicago,1,30.1945,-97.6699 +icao,iata,name,location,country,timezone,hub,lat,lon +KAUS,AUS,Austin-Bergstrom,"Austin, Texas, USA", United States,America/Chicago,1,30.1945,-97.6699