function DevReleaseTest::setUp
Same name in other branches
- 11.x core/modules/update/tests/src/Kernel/DevReleaseTest.php \Drupal\Tests\update\Kernel\DevReleaseTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ update/ tests/ src/ Kernel/ DevReleaseTest.php, line 36
Class
- DevReleaseTest
- Tests the project data when the installed version is a dev version.
Namespace
Drupal\Tests\update\KernelCode
protected function setUp() : void {
parent::setUp();
// The Update module's default configuration must be installed for our
// fake release metadata to be fetched.
$this->installConfig('update');
$this->installConfig('update_test');
$this->setCoreVersion('8.1.0-dev');
$this->setReleaseMetadata(__DIR__ . '/../../fixtures/release-history/drupal.sec.8.1.0-dev.xml');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.