fix(test): fix broken test

This commit is contained in:
Gabe Kangas 2024-06-25 20:34:38 -07:00
parent 04852a3e35
commit f5204be0c8

View File

@ -53,7 +53,6 @@ test('overwrite user header derived display name with body', async (done) => {
const res = await request
.post('/api/chat/register')
.send({ displayName: 'TestUserChat' })
.set('X-Forwarded-User', 'test-user')
.expect(200);
expect(res.body.displayName).toBe('TestUserChat');