Fix failing tests

Created on 11 January 2023, over 1 year ago
Updated 26 January 2023, over 1 year ago

Problem/Motivation

The tests are failing in the dev branch
Errors:


1) Drupal\Tests\fontyourface\Functional\FontYourFaceFontDisplayTest::testFontNotDisplayed
Error: Call to undefined method Drupal\Core\Extension\ThemeHandler::install()

/app/web/modules/contrib/fontyourface/tests/src/Functional/FontYourFaceFontDisplayTest.php:46
/app/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

2) Drupal\Tests\fontyourface\Functional\FontYourFaceFontDisplayTest::testFontDisplayedViaFontDisplayRule
Error: Call to undefined method Drupal\Core\Extension\ThemeHandler::install()

/app/web/modules/contrib/fontyourface/tests/src/Functional/FontYourFaceFontDisplayTest.php:46
/app/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

Steps to reproduce

Run tests

Proposed resolution

Change the \Drupal::service('theme_handler') in the setup to \Drupal::service('theme_installer')

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code (general)

Created by

πŸ‡§πŸ‡·Brazil hmendes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024