|
1 | | -import { CreateBookPaymentRequest, CreateLinkedPaymentRequest, Unit } from "../unit" |
| 1 | +import { CreateBookPaymentRequest, Unit } from "../unit" //CreateLinkedPaymentRequest |
2 | 2 | import { createIndividualAccount } from "./accounts.spec" |
3 | | -import { createCounterpartyForTest } from "./counterparties.spec" |
| 3 | +// import { createCounterpartyForTest } from "./counterparties.spec" |
4 | 4 |
|
5 | 5 | import dotenv from "dotenv" |
6 | 6 | dotenv.config() |
@@ -60,32 +60,32 @@ describe("Create BookPayment", () => { |
60 | 60 | }) |
61 | 61 | }) |
62 | 62 |
|
63 | | -async function createPayment() : Promise<CreateLinkedPaymentRequest> { |
64 | | - const createCounterpartRes = await createCounterpartyForTest("22603") |
| 63 | +// async function createPayment() : Promise<CreateLinkedPaymentRequest> { |
| 64 | +// const createCounterpartRes = await createCounterpartyForTest("22603") |
65 | 65 |
|
66 | | - return { |
67 | | - "type": "achPayment", |
68 | | - "attributes": { |
69 | | - "amount": 200, |
70 | | - "direction": "Debit", |
71 | | - "description": "ACH PYMT" |
72 | | - }, |
73 | | - "relationships": { |
74 | | - "account": { |
75 | | - "data": { |
76 | | - "type": "depositAccount", |
77 | | - "id": "27573" |
78 | | - } |
79 | | - }, |
80 | | - "counterparty": { |
81 | | - "data": { |
82 | | - "type": "counterparty", |
83 | | - "id": createCounterpartRes.data.id |
84 | | - } |
85 | | - } |
86 | | - } |
87 | | - } |
88 | | -} |
| 66 | +// return { |
| 67 | +// "type": "achPayment", |
| 68 | +// "attributes": { |
| 69 | +// "amount": 200, |
| 70 | +// "direction": "Debit", |
| 71 | +// "description": "ACH PYMT" |
| 72 | +// }, |
| 73 | +// "relationships": { |
| 74 | +// "account": { |
| 75 | +// "data": { |
| 76 | +// "type": "depositAccount", |
| 77 | +// "id": "27573" |
| 78 | +// } |
| 79 | +// }, |
| 80 | +// "counterparty": { |
| 81 | +// "data": { |
| 82 | +// "type": "counterparty", |
| 83 | +// "id": createCounterpartRes.data.id |
| 84 | +// } |
| 85 | +// } |
| 86 | +// } |
| 87 | +// } |
| 88 | +// } |
89 | 89 |
|
90 | 90 | // describe("Create LinkedPayment", () => { |
91 | 91 | // test("create linked payment", async () => { |
|
0 commit comments