This commit is contained in:
Ahmed Bouhuolia
2026-01-12 01:04:28 +02:00
parent 16f1d57279
commit 3c1273becb
32 changed files with 180 additions and 132 deletions

View File

@@ -2,19 +2,19 @@ import * as request from 'supertest';
import { app, AuthorizationHeader, orgainzationId } from './init-app-test';
describe('Banking Accounts (e2e)', () => {
it('/banking/accounts (GET)', () => {
return request(app.getHttpServer())
.get('/banking/accounts')
.set('organization-id', orgainzationId)
.set('Authorization', AuthorizationHeader)
.expect(200);
});
// it('/banking/accounts (GET)', () => {
// return request(app.getHttpServer())
// .get('/banking/accounts')
// .set('organization-id', orgainzationId)
// .set('Authorization', AuthorizationHeader)
// .expect(200);
// });
it('/banking/accounts/:bankAccountId/summary (GET)', () => {
return request(app.getHttpServer())
.get('/banking/accounts/1/summary')
.set('organization-id', orgainzationId)
.set('Authorization', AuthorizationHeader)
.expect(200);
});
// it('/banking/accounts/:bankAccountId/summary (GET)', () => {
// return request(app.getHttpServer())
// .get('/banking/accounts/1/summary')
// .set('organization-id', orgainzationId)
// .set('Authorization', AuthorizationHeader)
// .expect(200);
// });
});