protected function UpdateCoreTest::setSystemInfo7_0

Sets the version to 7.0 when no project-specific mapping is defined.

8 calls to UpdateCoreTest::setSystemInfo7_0()

File

drupal/core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php, line 237
Definition of Drupal\update\Tests\UpdateCoreTest.

Class

UpdateCoreTest
Tests behavior related to discovering and listing updates to Drupal core.

Namespace

Drupal\update\Tests

Code

protected function setSystemInfo7_0() {
  $setting = array(
    '#all' => array(
      'version' => '7.0',
    ),
  );
  config('update_test.settings')
    ->set('system_info', $setting)
    ->save();
}