Problem/Motivation

Running the Guardian automated tests on Drupal 9 results in an error:

Exception : Drupal\Tests\BrowserTestBase::$defaultTheme is required. See https://www.drupal.org/node/3083055, which includes recommendations on which theme to use.

Steps to reproduce

Run automated tests on a Drupal 9.2.x installation

Proposed resolution

Fix automated testing on 2.x branch

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#2 3224927-2.patch1.77 KBidebr

Comments

idebr created an issue. See original summary.

idebr’s picture

Status: Active » Needs review
StatusFileSize
new1.77 KB

Attached patch fixes automated testing on 2.x branch and replaces deprecated test methods.

tessa bakker’s picture

Status: Needs review » Fixed

Thanks!

idebr’s picture

@Tessa Bakker
Can you enable automated tests on the 2.x branch? https://www.drupal.org/node/2650142/qa

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.