Skip to content
Snippets Groups Projects

Add the lookup_migrations option to the menu_link_parent process plugin

1 unresolved thread

Closes #3498963

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
92 public function testConstructorException(array $configuration, bool $is_valid): void {
93 if (!$is_valid) {
94 $this->expectException('TypeError');
95 $this->expectExceptionMessage('Cannot assign string to property ' . MenuLinkParent::class . '::$lookupMigrations of type array');
96 }
97 $plugin = new MenuLinkParent($configuration, 'map', [], $this->migrateLookup->reveal(), $this->menuLinkManager->reveal(), $this->menuLinkStorage->reveal(), $this->migration->reveal());
98 if ($is_valid) {
99 $this->assertInstanceOf(MenuLinkParent::class, $plugin);
100 }
101 }
102
103 /**
104 * Provides data for testConstructorException().
105 */
106 public static function providerConstructorException(): array {
107 // The parent ID does not for the following tests.
  • Benji Fisher added 1 commit

    added 1 commit

    • 2d48bd83 - Remove a copy/paste artifact

    Compare with previous version

  • closed

  • Please register or sign in to reply
    Loading