You are here

protected function UpgradeStatusTestBase::runFullScan in Upgrade Status 8

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/UpgradeStatusTestBase.php \Drupal\Tests\upgrade_status\Functional\UpgradeStatusTestBase::runFullScan()
  2. 8.2 tests/src/Functional/UpgradeStatusTestBase.php \Drupal\Tests\upgrade_status\Functional\UpgradeStatusTestBase::runFullScan()

Perform a full scan on all test modules.

2 calls to UpgradeStatusTestBase::runFullScan()
UpgradeStatusAnalyseTest::testAnalyser in tests/src/Functional/UpgradeStatusAnalyseTest.php
UpgradeStatusUiTest::testUiAfterScan in tests/src/Functional/UpgradeStatusUiTest.php
Test the user interface after running a scan.

File

tests/src/Functional/UpgradeStatusTestBase.php, line 34

Class

UpgradeStatusTestBase
Defines shared functions used by some of the functional tests.

Namespace

Drupal\Tests\upgrade_status\Functional

Code

protected function runFullScan() {
  $edit = [
    'contrib[data][data][upgrade_status]' => TRUE,
    'custom[data][data][upgrade_status_test_error]' => TRUE,
    'custom[data][data][upgrade_status_test_no_error]' => TRUE,
    'custom[data][data][upgrade_status_test_submodules]' => TRUE,
    'contrib[data][data][upgrade_status_test_contrib_error]' => TRUE,
    'contrib[data][data][upgrade_status_test_contrib_no_error]' => TRUE,
  ];
  $this
    ->drupalPostForm('admin/reports/upgrade-status', $edit, 'Scan selected');
}