Skip to content

Commit f81fe78

Browse files
authored
wrong route (joomla#45133)
1 parent 1487c69 commit f81fe78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/System/integration/api/Basic.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('Test that the API', () => {
1313

1414
it('returns not found return code when wrong route is set', () => {
1515
cy.api_getBearerToken().then((token) => cy.request({
16-
method: 'GET', url: '/api/index.php/v1/content/articles/1', headers: { Authorization: `Bearer ${token}` }, failOnStatusCode: false,
16+
method: 'GET', url: '/api/index.php/v1/invalid', headers: { Authorization: `Bearer ${token}` }, failOnStatusCode: false,
1717
})
1818
.its('status').should('equal', 404));
1919
});

0 commit comments

Comments
 (0)