protected function UpdateCoreTestCase::setSystemInfo7_0

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

7 calls to UpdateCoreTestCase::setSystemInfo7_0()
UpdateCoreTestCase::testModulePageRegularUpdate in drupal/modules/update/update.test
Checks the messages at admin/modules when an update is missing.
UpdateCoreTestCase::testModulePageRunCron in drupal/modules/update/update.test
Checks that running cron updates the list of available updates.
UpdateCoreTestCase::testModulePageSecurityUpdate in drupal/modules/update/update.test
Checks the messages at admin/modules when a security update is missing.
UpdateCoreTestCase::testModulePageUpToDate in drupal/modules/update/update.test
Checks the messages at admin/modules when the site is up to date.
UpdateCoreTestCase::testNormalUpdateAvailable in drupal/modules/update/update.test
Tests the Update Manager module when one normal update is available.

... See full list

File

drupal/modules/update/update.test, line 266
This file contains tests for the Update Manager module.

Class

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

Code

protected function setSystemInfo7_0() {
  $setting = array(
    '#all' => array(
      'version' => '7.0',
    ),
  );
  variable_set('update_test_system_info', $setting);
}