UpdateCoreTestCase::testNoUpdatesAvailable

7 update.test UpdateCoreTestCase::testNoUpdatesAvailable()
8 update.test UpdateCoreTestCase::testNoUpdatesAvailable()

Tests the update module when no updates are available.

File

modules/update/update.test, line 74
Tests for update.module.

Code

function testNoUpdatesAvailable() {
  $this->setSystemInfo7_0();
  $this->refreshUpdateStatus(array('drupal' => '0'));
  $this->standardTests();
  $this->assertText(t('Up to date'));
  $this->assertNoText(t('Update available'));
  $this->assertNoText(t('Security update required!'));
}
Login or register to post comments