The one browser test in this module needs $defaultTheme in order to be compatible with D9.

Drupal\Tests\BrowserTestBase::$defaultTheme is required in drupal:9.0.0 when using an install profile that does not set a default theme. See https://www.drupal.org/node/3083055, which includes recommendations on which theme to use.

Change record https://www.drupal.org/node/3083055

And additional problem with the test is that the $modules property is supposed to be protected.

This fixes both things.

Comments

TR created an issue. See original summary.

tr’s picture

Status: Active » Needs review
StatusFileSize
new595 bytes
naveenvalecha’s picture

tr’s picture

Status: Closed (won't fix) » Needs review
StatusFileSize
new520 bytes

Thanks, but you missed this part of the patch:
$modules is now a protected property in tests
Perhaps it should have been in a separate patch ... here's a re-roll.

  • naveenvalecha committed ba61625 on 8.x-3.x authored by TR
    Issue #3146012 by TR, naveenvalecha: Deprecation: add $defaultTheme to...
naveenvalecha’s picture

Assigned: tr » Unassigned
Status: Needs review » Fixed

Thanks!
Committed and pushed to 8.x-3.x

Status: Fixed » Closed (fixed)

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