Correct syntax in BookLocalTaskTest

Created on 30 September 2024, about 2 months ago

Problem

Phpunit tests are failing locally due to an issue in BookLocalTaskTest.php.

See below:

  protected function setUp(): void {
    $this->directoryList = [
      'book' => 'modules/custom/book',
      'node' => 'core/modules/node',
    ];
    parent::setUp();
  }

Solution

modules/custom/book should become modules/contrib/book.

To test

Run phpunit against latest 2.0.x, tests should all pass.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
  • testing

    Used for Documentation issues related to testing and test development

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024