UpdateTestHelper::standardTests

7 update.test protected UpdateTestHelper::standardTests()
8 update.test protected UpdateTestHelper::standardTests()

Run a series of assertions that are applicable for all update statuses.

File

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

Code

protected function standardTests() {
  $this->assertRaw('<h3>' . t('Drupal core') . '</h3>');
  $this->assertRaw(l(t('Drupal'), 'http://example.com/project/drupal'), t('Link to the Drupal project appears.'));
  $this->assertNoText(t('No available releases found'));
}
Login or register to post comments