The tests are still failing on D9:

1) Drupal\Tests\yaml_content\Functional\Plugin\yaml_content\process\FileTest::testProcess
Exception: Drupal\Tests\BrowserTestBase::$defaultTheme is required. See https://www.drupal.org/node/3083055, which includes recommendations on which theme to use.

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new525 bytes

This sets it to the 'stark' theme, per the recommendations.

damienmckenna’s picture

Status: Needs review » Needs work
Issue tags: +Drupal 9 compatibility

That fixes the first problem, but now we have these:

1) Drupal\Tests\yaml_content\Unit\ContentLoader\ContentLoaderTest::testSetPath
assertAttributeEquals() is deprecated and will be removed in PHPUnit 9.
readAttribute() is deprecated and will be removed in PHPUnit 9.
getObjectAttribute() is deprecated and will be removed in PHPUnit 9.

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new768 bytes
new1.26 KB

This replaces assertAttributeEquals() and the test passes locally.

  • DamienMcKenna committed 884ad14 on 8.x-1.x
    Issue #3131793 by DamienMcKenna: D9 tests are still failing.
    
damienmckenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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