function TemplateProjectTestBase::tearDown
Invokes the test preconditions assertion after each test run.
This ensures that no test method leaves behind violations of test preconditions. This makes it trivial to discover broken tests.
Overrides AssertPreconditionsTrait::tearDown
File
-
core/
modules/ package_manager/ tests/ src/ Build/ TemplateProjectTestBase.php, line 84
Class
- TemplateProjectTestBase
- Base class for tests which create a test site from a core project template.
Namespace
Drupal\Tests\package_manager\BuildCode
protected function tearDown() : void {
$this->metadataServer?->stop();
parent::tearDown();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.