test(logging): isolate pino transport and request assertions (#120)
This commit is contained in:
@@ -559,7 +559,7 @@ describe('Authentication (e2e)', () => {
|
|||||||
new Error('operation failed\npassword: SYNTHETIC_AUDIT_SECRET'),
|
new Error('operation failed\npassword: SYNTHETIC_AUDIT_SECRET'),
|
||||||
);
|
);
|
||||||
|
|
||||||
const response = await request(app.getHttpServer())
|
await request(app.getHttpServer())
|
||||||
.post('/api/v1/auth/login')
|
.post('/api/v1/auth/login')
|
||||||
.set('X-Request-ID', clientRequestId)
|
.set('X-Request-ID', clientRequestId)
|
||||||
.send({ email: 'user@example.com', password: 'a secure password' })
|
.send({ email: 'user@example.com', password: 'a secure password' })
|
||||||
|
|||||||
Reference in New Issue
Block a user