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 8e01b4e commit 3687da1Copy full SHA for 3687da1
tests/cypress/integration/api/com_weblinks/Weblinks.cy.js
@@ -2,6 +2,8 @@ describe('Test that weblinks API endpoint', () => {
2
afterEach(() => cy.task('queryDB', 'DELETE FROM #__weblinks WHERE title LIKE "%automated test weblink%"'));
3
4
it('can deliver a list of weblinks', () => {
5
+ // Update to the correct secret for the API tests because of the bearer token
6
+ cy.config_setParameter('secret', 'tEstValue');
7
cy.db_enableExtension('1', 'plg_webservices_weblinks');
8
cy.db_createWeblink({ title: 'automated test weblink' })
9
.then(() => cy.api_get('/weblinks'))
0 commit comments