mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
feat(server): more e2e test cases
This commit is contained in:
12
packages/server/test/credit-note-refunds.e2e-spec.ts
Normal file
12
packages/server/test/credit-note-refunds.e2e-spec.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import * as request from 'supertest';
|
||||
import { app, AuthorizationHeader, orgainzationId } from './init-app-test';
|
||||
|
||||
describe('Credit Note Refunds (e2e)', () => {
|
||||
it('/credit-notes/:creditNoteId/refunds (GET)', () => {
|
||||
return request(app.getHttpServer())
|
||||
.get('/credit-notes/1/refunds')
|
||||
.set('organization-id', orgainzationId)
|
||||
.set('Authorization', AuthorizationHeader)
|
||||
.expect(200);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user