You are here

protected function UpdateCoreTestCase::setSystemInfo7_0 in Drupal 7

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

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

... See full list

File

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);
}