mirror of
https://github.com/mattermost/focalboard.git
synced 2024-11-27 08:31:20 +02:00
Merge pull request #3051 from wiggin77/fix_webapp_main
Fix broken webapp in main
This commit is contained in:
commit
958e77f24c
@ -591,7 +591,7 @@ describe('components/table/Table extended', () => {
|
||||
const dailogDeleteBtn = screen.getByRole('button', {name: 'Delete'})
|
||||
userEvents.click(dailogDeleteBtn)
|
||||
await waitFor(() => {
|
||||
expect(global.fetch).toHaveBeenCalledWith(`http://localhost/api/v1/boards/${board.id}/blocks/${card1.id}`, {"headers": {"Accept": "application/json", "Authorization": "", "Content-Type": "application/json", "X-Requested-With": "XMLHttpRequest"}, "method": "DELETE"})
|
||||
expect(global.fetch).toHaveBeenCalledWith(`http://localhost/api/v2/boards/${board.id}/blocks/${card1.id}`, {"headers": {"Accept": "application/json", "Authorization": "", "Content-Type": "application/json", "X-Requested-With": "XMLHttpRequest"}, "method": "DELETE"})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user