mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
refactor(nestjs): fix the failed e2e test cases
This commit is contained in:
@@ -45,6 +45,7 @@ describe('Payment Received (e2e)', () => {
|
||||
const customer = await request(app.getHttpServer())
|
||||
.post('/customers')
|
||||
.set('organization-id', orgainzationId)
|
||||
.set('Authorization', AuthorizationHeader)
|
||||
.send({ displayName: 'Test Customer' });
|
||||
|
||||
customerId = customer.body.id;
|
||||
@@ -96,6 +97,7 @@ describe('Payment Received (e2e)', () => {
|
||||
return request(app.getHttpServer())
|
||||
.delete(`/payments-received/${paymentReceivedId}`)
|
||||
.set('organization-id', orgainzationId)
|
||||
.set('Authorization', AuthorizationHeader)
|
||||
.expect(200);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user