You are here

function MissingDependentModuleUnitTest::testFail in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/simpletest/src/Tests/MissingDependentModuleUnitTest.php \Drupal\simpletest\Tests\MissingDependentModuleUnitTest::testFail()

Ensure that this test will not be loaded despite its dependency.

File

core/modules/simpletest/src/Tests/MissingDependentModuleUnitTest.php, line 23
Contains \Drupal\simpletest\Tests\MissingDependentModuleUnitTest.

Class

MissingDependentModuleUnitTest
This test should not load since it requires a module that is not found.

Namespace

Drupal\simpletest\Tests

Code

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