Skip to content

Commit

Permalink
SDSS-000: Updated stanford_layout_paragraphs patch to remove test.
Browse files Browse the repository at this point in the history
  • Loading branch information
joegl committed Feb 2, 2024
1 parent 50ba8bf commit 0cf66e6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions patches/stanford/stanford_layout_paragraphs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

0 comments on commit 0cf66e6

Please sign in to comment.