diff --git a/patches/stanford/stanford_layout_paragraphs.patch b/patches/stanford/stanford_layout_paragraphs.patch index 7522c1891..7b392c5ac 100644 --- a/patches/stanford/stanford_layout_paragraphs.patch +++ b/patches/stanford/stanford_layout_paragraphs.patch @@ -21,3 +21,20 @@ diff --git a/modules/stanford_layout_paragraphs/src/EventSubscriber/StanfordLayo } } + +diff --git a/modules/stanford_layout_paragraphs/tests/src/Kernel/EventSubscriber/StanfordLayoutParagraphsSubscriberTest.php b/modules/stanford_layout_paragraphs/tests/src/Kernel/EventSubscriber/StanfordLayoutParagraphsSubscriberTest.php +@@ -29,7 +29,6 @@ + */ + public function testEventSubscriber() { + $types = [ +- 'stanford_banner' => ['is_section' => FALSE], + 'foo' => ['is_section' => FALSE], + ]; + +@@ -54,7 +53,6 @@ + $event_dispatcher = \Drupal::service('event_dispatcher'); + $event_dispatcher->dispatch($event, LayoutParagraphsAllowedTypesEvent::EVENT_NAME); + +- $this->assertArrayNotHasKey('stanford_banner', $event->getTypes()); + $this->assertArrayHasKey('foo', $event->getTypes()); + }