From ca943fefd6bcb6680f5ed9660f30b151a06ae348 Mon Sep 17 00:00:00 2001 From: Nicola Galgano Date: Sat, 8 Mar 2025 11:54:37 +0100 Subject: [PATCH] set parent_id --- tests/System/integration/api/com_banners/Categories.cy.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/System/integration/api/com_banners/Categories.cy.js b/tests/System/integration/api/com_banners/Categories.cy.js index e202aac9e438a..925fdb2d0a808 100644 --- a/tests/System/integration/api/com_banners/Categories.cy.js +++ b/tests/System/integration/api/com_banners/Categories.cy.js @@ -17,7 +17,12 @@ describe('Test that banners categories API endpoint', () => { }); it('can create a category', () => { - cy.api_post('/banners/categories', { title: 'automated test banner category', description: 'automated test banner category description' }) + cy.api_post('/banners/categories', { + title: 'automated test banner category', + description: 'automated test banner category description', + parent_id: 1, + extension: 'com_banners', + }) .then((response) => { cy.wrap(response).its('body').its('data').its('attributes') .its('title')