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

@@ -32,17 +32,17 @@ describe('Contacts (e2e)', () => {
.expect(200);
});
it('/contacts/:id/activate (POST)', () => {
it('/contacts/:id/activate (PATCH)', () => {
return request(app.getHttpServer())
.post(`/contacts/${customerId}/activate`)
.patch(`/contacts/${customerId}/activate`)
.set('organization-id', orgainzationId)
.set('Authorization', AuthorizationHeader)
.expect(200);
});
it('/contacts/:id/inactivate (POST)', () => {
it('/contacts/:id/inactivate (PATCH)', () => {
return request(app.getHttpServer())
.post(`/contacts/${vendorId}/inactivate`)
.patch(`/contacts/${vendorId}/inactivate`)
.set('organization-id', orgainzationId)
.set('Authorization', AuthorizationHeader)
.expect(200);