refactor(nestjs): fix the failed e2e test cases

This commit is contained in:
Ahmed Bouhuolia
2025-04-07 22:50:11 +02:00
parent 4febc4e502
commit 6287f8b6e3
11 changed files with 49 additions and 31 deletions

View File

@@ -38,6 +38,7 @@ describe('Sale Estimates (e2e)', () => {
const item = await request(app.getHttpServer())
.post('/items')
.set('organization-id', orgainzationId)
.set('Authorization', AuthorizationHeader)
.send({
name: faker.commerce.productName(),
type: 'inventory',