From 00a9086ea0f57786b0c4f76cfe50a517f0305ee3 Mon Sep 17 00:00:00 2001 From: jkindly Date: Wed, 10 Jul 2024 13:36:31 +0200 Subject: [PATCH] OP-326: Behat - deleting content element --- tests/Behat/Helpers/ContentElementHelper.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/Behat/Helpers/ContentElementHelper.php b/tests/Behat/Helpers/ContentElementHelper.php index 32a5161a..c2915b9d 100644 --- a/tests/Behat/Helpers/ContentElementHelper.php +++ b/tests/Behat/Helpers/ContentElementHelper.php @@ -33,17 +33,17 @@ public static function getExampleConfigurationByContentElement(string $contentEl 'Single media' => ['single_media' => 'homepage_header_image'], 'Multiple media' => ['multiple_media' => ['homepage_header_image', 'homepage_pdf']], 'Heading' => ['heading_type' => 'h1', 'heading' => 'Heading content'], - 'Products carousel' => ["products_carousel" => [ - "products" => [ - "Everyday_white_basic_T_Shirt", - "Loose_white_designer_T_Shirt" + 'Products carousel' => ['products_carousel' => [ + 'products' => [ + 'Everyday_white_basic_T_Shirt', + 'Loose_white_designer_T_Shirt', ], ]], 'Products carousel by Taxon' => ['products_carousel_by_taxon' => 'MENU_CATEGORY'], - 'Taxons list' => ["taxons_list" => [ - "taxons" => [ - "MENU_CATEGORY", - "t_shirts" + 'Taxons list' => ['taxons_list' => [ + 'taxons' => [ + 'MENU_CATEGORY', + 't_shirts', ], ]], default => throw new \InvalidArgumentException(sprintf('Content element with name "%s" does not exist.', $contentElement)),