1 update.test | UpdateCoreTestCase::testNoUpdatesAvailable() |
Tests the Update Manager module when no updates are available.
File
- core/
modules/ update/ tests/ update.test, line 75 - This file contains tests for the Update Manager module.
Class
Code
function testNoUpdatesAvailable() {
$this->setSystemInfo1_0();
$this->refreshUpdateStatus(array('backdrop' => '0'));
$this->assertText(t('Up to date'));
$this->assertNoText(t('Update available'));
$this->assertNoText(t('Security update required!'));
}