Skip to content

Commit

Permalink
TC-3724: tests update
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii committed Mar 21, 2024
1 parent 2ae1d6b commit a7263ef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/Air/AirParser.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ const checkLowSearchFareXml = (filename) => {
(segment) => {
expect(segment).to.be.an('object');
expect(segment).to.have.all.keys([
'from', 'to', 'departure', 'arrival', 'airline', 'flightNumber', 'serviceClass',
'plane', 'details', 'duration', 'techStops', 'bookingClass', 'baggage',
'from', 'to', 'departure', 'arrival', 'airline', 'operatingAirline', 'flightNumber',
'serviceClass', 'plane', 'details', 'duration', 'techStops', 'bookingClass', 'baggage',
'fareBasisCode', 'group', 'uapi_segment_ref', 'uapiSegmentReference',
]);
expect(segment.from).to.match(/^[A-Z]{3}$/);
Expand Down Expand Up @@ -2195,6 +2195,7 @@ describe('#AirParser', () => {
expect(segment).to.be.an('object');
expect(segment).to.have.all.keys([
'airline',
'operatingAirline',
'arrival',
'bookingClass',
'departure',
Expand Down Expand Up @@ -2340,7 +2341,7 @@ describe('#AirParser', () => {
leg.forEach((segment) => {
expect(segment).to.be.an('object');
expect(segment).to.have.all.keys([
'from', 'to', 'departure', 'arrival', 'airline',
'from', 'to', 'departure', 'arrival', 'airline', 'operatingAirline',
'flightNumber', 'plane', 'duration',
'uapi_segment_ref', 'group', 'availability', 'uapiSegmentReference',
]);
Expand Down

0 comments on commit a7263ef

Please sign in to comment.