From 81997ba03822811c43abce134eb5f6ad9923b405 Mon Sep 17 00:00:00 2001 From: Ian Monroe Date: Mon, 29 Apr 2024 12:02:44 -0600 Subject: [PATCH] fixup --- tests/codeception/acceptance/Media/MediaPermissionsCest.php | 2 +- tests/codeception/acceptance/Paragraphs/TeaserCest.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/codeception/acceptance/Media/MediaPermissionsCest.php b/tests/codeception/acceptance/Media/MediaPermissionsCest.php index dd087f54..337cd88e 100644 --- a/tests/codeception/acceptance/Media/MediaPermissionsCest.php +++ b/tests/codeception/acceptance/Media/MediaPermissionsCest.php @@ -34,7 +34,7 @@ public function testAdminPerms(AcceptanceTester $I) { * Test site embedder perms */ public function testSiteEmbedderPerms(AcceptanceTester $I) { - $user = $I->createUserWithRoles(['soe_site_embedder','site_manager']); + $user = $I->createUserWithRoles(['site_embedder','site_manager']); $I->logInAs($user->getAccountName()); $I->amOnPage('/media/add/embeddable'); $I->canSeeResponseCodeIs(200); diff --git a/tests/codeception/acceptance/Paragraphs/TeaserCest.php b/tests/codeception/acceptance/Paragraphs/TeaserCest.php index c4553742..adb2e972 100644 --- a/tests/codeception/acceptance/Paragraphs/TeaserCest.php +++ b/tests/codeception/acceptance/Paragraphs/TeaserCest.php @@ -31,6 +31,9 @@ public function testTeaserParagraphHeaders(AcceptanceTester $I) { $teaser_entities = []; $teaser_item_field = []; foreach ($node_types as $node_type) { + if ($node_type->id() === 'spotlight') { + continue; + } $teaser_entities[$node_type->id()] = $I->createEntity([ 'title' => $this->faker->words(3, TRUE), 'type' => $node_type->id(),