Skip to content

Commit 4b2ce6e

Browse files
test: added user
1 parent 5f1dfdd commit 4b2ce6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/meteor/client/views/room/hooks/useRoomInvitation.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jest.mock('@rocket.chat/ui-contexts', () => ({
2626
describe('useRoomInvitation', () => {
2727
const mockedRoom = createFakeRoom();
2828
const roomId = mockedRoom._id;
29-
const appRoot = mockAppRoot().withEndpoint('POST', '/v1/rooms.invite', mockInviteEndpoint).build();
29+
const appRoot = mockAppRoot().withJohnDoe().withEndpoint('POST', '/v1/rooms.invite', mockInviteEndpoint).build();
3030

3131
beforeEach(() => {
3232
jest.clearAllMocks();

0 commit comments

Comments
 (0)