function UpdateCalculateProjectDataTest::setUp
Same name and namespace in other branches
- 10 core/modules/update/tests/src/Kernel/UpdateCalculateProjectDataTest.php \Drupal\Tests\update\Kernel\UpdateCalculateProjectDataTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ update/ tests/ src/ Kernel/ UpdateCalculateProjectDataTest.php, line 37
Class
- UpdateCalculateProjectDataTest
- Test the values set in <a href="/api/drupal/core%21modules%21update%21update.compare.inc/function/update_calculate_project_data/11.x" title="Calculates the current update status of all projects on the site." class="local">update_calculate_project_data</a>().
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.0.1');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.