update test

This commit is contained in:
Eric Rosenbaum 2021-08-19 21:41:55 -04:00
parent 76ec4c90d8
commit 5fd180b558

View file

@ -418,7 +418,7 @@ describe('acceptInvitation', () => {
});
await store.dispatch(transferHost('password', 'newHostName', 'newHostId'));
const state = store.getState();
expect(api.mock.calls[0][0].uri).toBe('/studios/123123/transfer/newHostName?password=password');
expect(api.mock.calls[0][0].uri).toBe('/studios/123123/transfer/newHostName');
expect(state.studio.owner).toBe('newHostId');
});
});