You are here

protected function TaxonomyAccessFixFallbackRequirementsPageTrait::updateRequirementsProblem in Taxonomy access fix 8.2

Handles the update requirements page.

File

tests/src/Traits/TaxonomyAccessFixFallbackRequirementsPageTrait.php, line 15

Class

TaxonomyAccessFixFallbackRequirementsPageTrait
Provides a fallback for RequirementsPageTrait added in Drupal Core 8.7.

Namespace

Drupal\Tests\taxonomy_access_fix\Traits

Code

protected function updateRequirementsProblem() {

  // Assert a warning is shown on older test environments.
  if (version_compare(phpversion(), '7.0.8') < 0) {
    $this
      ->assertNoText('Errors found');
    $this
      ->assertWarningSummaries([
      'PHP',
    ]);
    $this
      ->clickLink('try again');
    $this
      ->checkForMetaRefresh();
  }
}