refactor: settings to nestjs

This commit is contained in:
Ahmed Bouhuolia
2025-01-11 11:02:57 +02:00
parent 3bf5f4be86
commit 7e82080cb7
7 changed files with 89 additions and 7 deletions

View File

@@ -0,0 +1,17 @@
import * as request from 'supertest';
import { app } from './init-app-test';
describe('Transactions Locking (e2e)', () => {
it('/transactions-locking (PUT)', () => {
return request(app.getHttpServer())
.put('/transactions-locking')
.set('organization-id', '4064541lv40nhca')
.send({
module: 'all',
lock_to_date: '2025-01-01',
reason: 'test',
})
.expect(200);
});
});