Commit 00d94c42 authored by Volker Krause's avatar Volker Krause
Browse files

Add unit test for the merging of flights with conflicting IATA BCBP data

Couldn't go to the release branch as this also relies on subsequent merge
changes.
parent 7aede689
[
{
"@context": "http://schema.org",
"@type": "FlightReservation",
"modifiedTime": "2020-01-05T00:00:00Z",
"reservationFor": {
"@type": "Flight",
"airline": {
"@type": "Airline",
"iataCode": "SN"
},
"arrivalAirport": {
"@type": "Airport",
"iataCode": "TXL"
},
"arrivalTime": {
"@type": "QDateTime",
"@value": "2020-02-02T22:00:00+01:00",
"timezone": "Europe/Berlin"
},
"departureAirport": {
"@type": "Airport",
"iataCode": "BRU"
},
"departureDay": "2020-02-02",
"departureTime": {
"@type": "QDateTime",
"@value": "2020-02-02T20:40:00+01:00",
"timezone": "Europe/Brussels"
},
"flightNumber": "2591"
},
"reservationNumber": "XXX007",
"reservedTicket": {
"@type": "Ticket",
"ticketToken": "aztecCode:M1KRAUSE/VOLKER EXXX007 BRUTXLSN 2591 033Y"
},
"underName": {
"@type": "Person",
"familyName": "KRAUSE",
"givenName": "VOLKER",
"name": "VOLKER KRAUSE"
}
}
]
[{
"@context": "http://schema.org",
"@type": "FlightReservation",
"airplaneSeat": "6D",
"modifiedTime": "2020-02-02T00:00:00Z",
"passengerSequenceNumber": "42",
"reservationFor": {
"@type": "Flight",
"airline": {
"@type": "Airline",
"iataCode": "SN"
},
"arrivalAirport": {
"@type": "Airport",
"iataCode": "TXL"
},
"arrivalTime": {
"@type": "QDateTime",
"@value": "2020-02-02T22:00:00+01:00",
"timezone": "Europe/Berlin"
},
"departureAirport": {
"@type": "Airport",
"iataCode": "BRU"
},
"departureDay": "2020-02-02",
"departureTime": {
"@type": "QDateTime",
"@value": "2020-02-02T20:40:00+01:00",
"timezone": "Europe/Brussels"
},
"flightNumber": "2591"
},
"reservationNumber": "XXX007",
"reservedTicket": {
"@type": "Ticket",
"ticketToken": "aztecCode:M1KRAUSE/VOLKERMR EXXX007 BRUTXLSN 2591 033Y006D0042 35D>5181WW0033BSN XXXXXXXXXXXXXXXX SN LH XXXXXXXXXXXXXXX N*XXXXXXXXXXXXX "
},
"underName": {
"@type": "Person",
"familyName": "KRAUSE",
"givenName": "VOLKERMR",
"name": "VOLKERMR KRAUSE"
}
}]
[
{
"@context": "http://schema.org",
"@type": "FlightReservation",
"airplaneSeat": "6D",
"modifiedTime": "2020-02-02T00:00:00Z",
"passengerSequenceNumber": "42",
"reservationFor": {
"@type": "Flight",
"airline": {
"@type": "Airline",
"iataCode": "SN"
},
"arrivalAirport": {
"@type": "Airport",
"iataCode": "TXL"
},
"departureAirport": {
"@type": "Airport",
"iataCode": "BRU"
},
"departureDay": "2020-02-02",
"flightNumber": "2591"
},
"reservationNumber": "XXX007",
"reservedTicket": {
"@type": "Ticket",
"ticketToken": "aztecCode:M1KRAUSE/VOLKERMR EXXX007 BRUTXLSN 2591 033Y006D0042 35D>5181WW0033BSN XXXXXXXXXXXXXXXX SN LH XXXXXXXXXXXXXXX N*XXXXXXXXXXXXX "
},
"underName": {
"@type": "Person",
"familyName": "KRAUSE",
"givenName": "VOLKERMR",
"name": "VOLKERMR KRAUSE"
}
}
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment