Skip to content

Commit 8ad659f

Browse files
committed
Fix integration tests
1 parent a99607f commit 8ad659f

File tree

10 files changed

+9
-9
lines changed

10 files changed

+9
-9
lines changed

.github/workflows/integration-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
mvn clean install
5656
5757
- name: Run Integration Tests
58-
working-directory: sdk-repo/integrations
58+
working-directory: sdk-repo/tests/integration
5959
run: |
6060
mvn verify \
6161
-Dcom.expediagroup.xapjavasdk.apikey="${{ secrets.API_KEY }}" \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ and less on the technical details of the API.
1717
You can find code examples for multiple use cases in the [examples](examples) directory.
1818

1919
### Integration Tests
20-
Integration tests are placed in the [integrations](integrations) directory.
20+
Integration tests are placed in the [integrations](tests/integration) directory.
2121

2222
---
2323

@@ -27,4 +27,4 @@ If you have any questions or need help with XAP, please refer to the
2727
[XAP Support](https://developers.expediagroup.com/xap/support) page.
2828

2929
If you experience any issues with the SDK, please raise an issue on the
30-
[GitHub repository](https://github.com/ExpediaGroup/xap-java-sdk/issues).
30+
[GitHub repository](https://github.com/ExpediaGroup/xap-java-sdk/issues).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ account manager.
8484
8585
## License
8686
87-
This project is licensed under the Apache License v2.0 - see the [LICENSE](../LICENSE) for details.
87+
This project is licensed under the Apache License v2.0 - see the [LICENSE](../../LICENSE) for details.

integrations/src/test/java/com/expediagroup/sdk/xap/integrations/common/Constant.java renamed to tests/integration/src/test/java/com/expediagroup/sdk/xap/integrations/common/Constant.java

File renamed without changes.

integrations/src/test/java/com/expediagroup/sdk/xap/integrations/common/XapIT.java renamed to tests/integration/src/test/java/com/expediagroup/sdk/xap/integrations/common/XapIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Extension for setting up the required components for testing.
1616
*/
1717
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
18-
public abstract class XapIT {
18+
public abstract class XapIntegrationTests {
1919

2020
protected static XapClient xapClient;
2121
protected static XapClient mockClient;

integrations/src/test/java/com/expediagroup/sdk/xap/integrations/lodging/AvailabilityCalendarsIT.java renamed to tests/integration/src/test/java/com/expediagroup/sdk/xap/integrations/lodging/AvailabilityCalendarsIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* This class is used to test the integration of the Lodging Availability Calendars API.
3030
*/
31-
public class AvailabilityCalendarsIT extends VrboIT {
31+
public class AvailabilityCalendarsIntegrationTests extends VrboIntegrationTests {
3232

3333
@Test
3434
public void testRequest() {

integrations/src/test/java/com/expediagroup/sdk/xap/integrations/lodging/ListingsIT.java renamed to tests/integration/src/test/java/com/expediagroup/sdk/xap/integrations/lodging/ListingsIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
/**
6363
* This class is used to test the integration of the Lodging Listings API.
6464
*/
65-
public class ListingsIT extends XapIT {
65+
public class ListingsIntegrationTests extends XapIntegrationTests {
6666

6767
@Test
6868
public void testRequest() {

integrations/src/test/java/com/expediagroup/sdk/xap/integrations/lodging/QuotesIT.java renamed to tests/integration/src/test/java/com/expediagroup/sdk/xap/integrations/lodging/QuotesIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/**
3636
* This class is used to test the integration of the Lodging Quotes API.
3737
*/
38-
public class QuotesIT extends VrboIT {
38+
public class QuotesIntegrationTests extends VrboIntegrationTests {
3939

4040
@Test
4141
public void testRequest() {

integrations/src/test/java/com/expediagroup/sdk/xap/integrations/lodging/VrboIT.java renamed to tests/integration/src/test/java/com/expediagroup/sdk/xap/integrations/lodging/VrboIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* Extension for setting up the required components for testing, specifically for Vrbo.
1010
*/
11-
public abstract class VrboIT extends XapIT {
11+
public abstract class VrboIntegrationTests extends XapIntegrationTests {
1212

1313
@BeforeAll
1414
static void vrboSetup() {

0 commit comments

Comments
 (0)