Skip to content

Commit 2761d79

Browse files
committed
fix integration test
1 parent bf2b0a0 commit 2761d79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/com/amadeus/booking/FlightOrdersIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import com.amadeus.resources.FlightOrder.Name;
1515
import com.amadeus.resources.FlightOrder.Phone;
1616
import com.amadeus.resources.FlightOrder.Traveler;
17+
import com.amadeus.resources.FlightOrder.Phone.DeviceType;
1718
import com.amadeus.resources.FlightPrice;
1819
import com.github.tomakehurst.wiremock.WireMockServer;
1920
import com.google.gson.JsonObject;
@@ -113,10 +114,10 @@ private Traveler[] getTravelerData() {
113114
phone[0] = new Phone();
114115
phone[0].setCountryCallingCode("33");
115116
phone[0].setNumber("675426222");
117+
phone[0].setDeviceType(DeviceType.MOBILE);
116118

117119
Contact contact = new Contact();
118120
contact.setPhones(phone);
119-
contact.setDeviceType(Contact.DeviceType.MOBILE);
120121
traveler.setContact(contact);
121122

122123
Document[] document = new Document[1];

0 commit comments

Comments
 (0)