@@ -87,26 +87,26 @@ async function createPayment() : Promise<CreateLinkedPaymentRequest> {
8787 }
8888}
8989
90- describe ( "Create LinkedPayment" , ( ) => {
91- test ( "create linked payment" , async ( ) => {
92-
93-
94- const req : CreateLinkedPaymentRequest = ( await createPayment ( ) )
95-
96- const createPaymentRes = await unit . payments . create ( req )
97- const res = await unit . payments . get ( createPaymentRes . data . id )
98- expect ( res . data . type === "achPayment" ) . toBeTruthy ( )
99- } )
100- } )
101-
102- describe ( "Create and cancel LinkedPayment" , ( ) => {
103- test ( "create and cancel linked payment" , async ( ) => {
104-
105-
106- const req : CreateLinkedPaymentRequest = ( await createPayment ( ) )
107-
108- const createPaymentRes = await unit . payments . create ( req )
109- const res = await unit . payments . cancel ( createPaymentRes . data . id )
110- expect ( res . data . type === "achPayment" ) . toBeTruthy ( )
111- } )
112- } )
90+ // describe("Create LinkedPayment", () => {
91+ // test("create linked payment", async () => {
92+ //
93+ //
94+ // const req: CreateLinkedPaymentRequest = (await createPayment())
95+ //
96+ // const createPaymentRes = await unit.payments.create(req)
97+ // const res = await unit.payments.get(createPaymentRes.data.id)
98+ // expect(res.data.type === "achPayment").toBeTruthy()
99+ // })
100+ // })
101+ //
102+ // describe("Create and cancel LinkedPayment", () => {
103+ // test("create and cancel linked payment", async () => {
104+ //
105+ //
106+ // const req: CreateLinkedPaymentRequest = (await createPayment())
107+ //
108+ // const createPaymentRes = await unit.payments.create(req)
109+ // const res = await unit.payments.cancel(createPaymentRes.data.id)
110+ // expect(res.data.type === "achPayment").toBeTruthy()
111+ // })
112+ // })
0 commit comments