Skip to content
Snippets Groups Projects
Unverified Commit 72e79099 authored by Kagami Sascha Rosylight's avatar Kagami Sascha Rosylight Committed by GitHub
Browse files

fix(cypress): pass `{}` as a parameter for `/api/reset-db` (#9355)

parent 52cbe07a
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ Cypress.Commands.add('resetState', () => {
cy.window(win => {
win.indexedDB.deleteDatabase('keyval-store');
});
cy.request('POST', '/api/reset-db').as('reset');
cy.request('POST', '/api/reset-db', {}).as('reset');
cy.get('@reset').its('status').should('equal', 204);
cy.reload(true);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment