protected function UpdateTestBase::standardTests

Runs a series of assertions that are applicable to all update statuses.

5 calls to UpdateTestBase::standardTests()
UpdateContribTest::testUpdateContribBasic in drupal/core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php
Tests the basic functionality of a contrib module on the status report.
UpdateContribTest::testUpdateContribOrder in drupal/core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php
Tests that contrib projects are ordered by project name.
UpdateCoreTest::testNormalUpdateAvailable in drupal/core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php
Tests the Update Manager module when one normal update is available.
UpdateCoreTest::testNoUpdatesAvailable in drupal/core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php
Tests the Update Manager module when no updates are available.
UpdateCoreTest::testSecurityUpdateAvailable in drupal/core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php
Tests the Update Manager module when a security update is available.

File

drupal/core/modules/update/lib/Drupal/update/Tests/UpdateTestBase.php, line 56
Definition of Drupal\update\Tests\UpdateTestBase.

Class

UpdateTestBase
Defines some shared functions used by all update tests.

Namespace

Drupal\update\Tests

Code

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