Skip to content

Commit b448eff

Browse files
committed
Update tests to follow conventions
1 parent 0c715db commit b448eff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/__tests__/classicIntegration.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import nock from "nock";
22
import {createClient} from "../__mocks__/base";
33
import Client from "../client";
4-
import ClassicIntegration from "../services/payment";
4+
import { PaymentAPI } from "../services";
55
import { payment } from "../typings";
66
import HttpClientException from "../httpClient/httpClientException";
77
import {PaymentResult} from "../typings/payment/paymentResult";
88

99
let client: Client;
10-
let classicIntegration: ClassicIntegration;
10+
let classicIntegration: PaymentAPI;
1111
let scope: nock.Scope;
1212

1313
beforeEach((): void => {
@@ -16,7 +16,7 @@ beforeEach((): void => {
1616
}
1717
client = createClient();
1818
scope = nock("https://pal-test.adyen.com/pal/servlet/Payment/v68");
19-
classicIntegration = new ClassicIntegration(client);
19+
classicIntegration = new PaymentAPI(client);
2020
});
2121

2222
afterEach(() => {

src/services/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export { default as DataProtectionAPI } from "./dataProtection";
99
export { default as DisputesAPI } from "./disputes";
1010
export { default as LegalEntityManagementAPI } from "./legalEntityManagement";
1111
export { default as ManagementAPI } from "./management";
12-
export { default as PaymentAPI } from "./paymentApi";
12+
export { default as PaymentAPI } from "./payment";
1313
export { default as PaymentsAppAPI } from "./paymentsApp";
1414
export { default as PayoutAPI } from "./payout";
1515
export { default as Platforms } from "./platforms";

0 commit comments

Comments
 (0)