diff options
Diffstat (limited to 'src/views/RoomSelector.spec.js')
-rw-r--r-- | src/views/RoomSelector.spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/RoomSelector.spec.js b/src/views/RoomSelector.spec.js index 883376c84..5ea7e53d9 100644 --- a/src/views/RoomSelector.spec.js +++ b/src/views/RoomSelector.spec.js @@ -70,7 +70,7 @@ describe('RoomSelector.vue', () => { const wrapper = shallowMount(RoomSelector) expect(mockAxios.get).toHaveBeenCalledWith( - generateOcsUrl('/apps/spreed/api/v4', 2) + 'room' + generateOcsUrl('/apps/spreed/api/v4/room') ) mockAxios.mockResponse({ @@ -98,7 +98,7 @@ describe('RoomSelector.vue', () => { }) expect(mockAxios.get).toHaveBeenCalledWith( - generateOcsUrl('/apps/spreed/api/v4', 2) + 'room' + generateOcsUrl('/apps/spreed/api/v4/room') ) mockAxios.mockResponse({ @@ -121,7 +121,7 @@ describe('RoomSelector.vue', () => { const wrapper = shallowMount(RoomSelector) expect(mockAxios.get).toHaveBeenCalledWith( - generateOcsUrl('/apps/spreed/api/v4', 2) + 'room' + generateOcsUrl('/apps/spreed/api/v4/room') ) mockAxios.mockResponse({ |