Checks that running cron updates the list of available updates.
function testModulePageRunCron() {
$this
->setSystemInfo7_0();
config('update.settings')
->set('fetch.url', url('update-test', array(
'absolute' => TRUE,
)))
->save();
config('update_test.settings')
->set('xml_map', array(
'drupal' => '0',
))
->save();
$this
->cronRun();
$this
->drupalGet('admin/modules');
$this
->assertNoText(t('No update information available.'));
}