Skip to content

Commit

Permalink
DRTII-1675 Fix export headings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
richbirch committed Nov 20, 2024
1 parent 1ad2150 commit b9f39e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class FlightsExportControllerSpec extends PlaySpec {
status(result) mustBe OK

val resultExpected =
s"""IATA,ICAO,Origin,Gate/Stand,Status,Scheduled,Predicted Arrival,Est Arrival,Act Arrival,Est Chocks,Act Chocks,Minutes off scheduled,Est PCP,Capacity,Total Pax,PCP Pax,Invalid API,API e-Gates,API EEA,API Non-EEA,API Fast Track,Historical e-Gates,Historical EEA,Historical Non-EEA,Historical Fast Track,Terminal Average e-Gates,Terminal Average EEA,Terminal Average Non-EEA,Terminal Average Fast Track"""
s"""IATA,Terminal,Origin,Gate/Stand,Status,Scheduled,Predicted Arrival,Est Arrival,Act Arrival,Est Chocks,Act Chocks,Minutes off scheduled,Est PCP,Capacity,Total Pax,PCP Pax,Invalid API,API e-Gates,API EEA,API Non-EEA,API Fast Track,Historical e-Gates,Historical EEA,Historical Non-EEA,Historical Fast Track,Terminal Average e-Gates,Terminal Average EEA,Terminal Average Non-EEA,Terminal Average Fast Track"""
.stripMargin

contentAsString(result) must include(resultExpected)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class StreamingFlightsExportSpec extends CrunchTestLike {
)

private val flightHeadings =
"""IATA,ICAO,Origin,Gate/Stand,Status,Scheduled,Predicted Arrival,Est Arrival,Act Arrival,Est Chocks,Act Chocks,Minutes off scheduled,Est PCP,Capacity,Total Pax,PCP Pax"""
"""IATA,Terminal,Origin,Gate/Stand,Status,Scheduled,Predicted Arrival,Est Arrival,Act Arrival,Est Chocks,Act Chocks,Minutes off scheduled,Est PCP,Capacity,Total Pax,PCP Pax"""
private val apiHeadings =
"""Invalid API,API e-Gates,API EEA,API Non-EEA,API Fast Track,Historical e-Gates,Historical EEA,Historical Non-EEA,Historical Fast Track,Terminal Average e-Gates,Terminal Average EEA,Terminal Average Non-EEA,Terminal Average Fast Track"""

Expand Down

0 comments on commit b9f39e3

Please sign in to comment.