mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-12-18 04:43:36 +01:00
Fix tests
This commit is contained in:
@@ -46,7 +46,7 @@ describe("<RebootButton/>", () => {
|
||||
fireEvent.click(getByText(componentContainer, "Reboot"));
|
||||
fireEvent.click(getByText(componentContainer, "Confirm reboot"));
|
||||
expect(mockAxios.post).toHaveBeenCalledWith(
|
||||
"/reforis/api/reboot",
|
||||
"/api/reboot",
|
||||
undefined,
|
||||
expect.anything()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user