function UpdateCalculateProjectDataTest::setUp
Overrides KernelTestBase::setUp
File
- 
              core/
modules/ update/ tests/ src/ Kernel/ UpdateCalculateProjectDataTest.php, line 37  
Class
- UpdateCalculateProjectDataTest
 - Test the values set in update_calculate_project_data().
 
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.