We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1487c69 commit f81fe78Copy full SHA for f81fe78
tests/System/integration/api/Basic.cy.js
@@ -13,7 +13,7 @@ describe('Test that the API', () => {
13
14
it('returns not found return code when wrong route is set', () => {
15
cy.api_getBearerToken().then((token) => cy.request({
16
- method: 'GET', url: '/api/index.php/v1/content/articles/1', headers: { Authorization: `Bearer ${token}` }, failOnStatusCode: false,
+ method: 'GET', url: '/api/index.php/v1/invalid', headers: { Authorization: `Bearer ${token}` }, failOnStatusCode: false,
17
})
18
.its('status').should('equal', 404));
19
});
0 commit comments