function BrowserMissingDependentModuleTest::testRequiresModule

Same name in other branches
  1. 9 core/tests/fixtures/BrowserMissingDependentModuleTest.php \Drupal\FunctionalTests\BrowserMissingDependentModuleTest::testRequiresModule()
  2. 8.9.x core/tests/fixtures/BrowserMissingDependentModuleTest.php \Drupal\FunctionalTests\BrowserMissingDependentModuleTest::testRequiresModule()
  3. 11.x 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 33

Class

BrowserMissingDependentModuleTest
A fixture test class with requires annotation.

Namespace

Drupal\FunctionalTests

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.