You are here

public function BrowserMissingDependentModuleTest::testRequiresModule in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/fixtures/BrowserMissingDependentModuleTest.php \Drupal\FunctionalTests\BrowserMissingDependentModuleTest::testRequiresModule()
  2. 9 core/tests/fixtures/BrowserMissingDependentModuleTest.php \Drupal\FunctionalTests\BrowserMissingDependentModuleTest::testRequiresModule()

Placeholder test method.

Depending on configuration, PHPUnit might fail a test if it has no test methods, so we must provide one. This method should never be executed.

File

core/tests/fixtures/BrowserMissingDependentModuleTest.php, line 26

Class

BrowserMissingDependentModuleTest
A fixture test class with requires annotation.

Namespace

Drupal\FunctionalTests

Code

public function testRequiresModule() {
  $this
    ->fail('Running test with missing required module.');
}