1 installer.test protected InstallerBrowserAdministrationTestCase::checkRequirements()

Checks the matching requirements for BackdropTestCase.

Return value

Array of errors containing a list of unmet requirements.:

Overrides BackdropTestCase::checkRequirements

File

core/modules/installer/tests/installer.test, line 31

Class

InstallerBrowserAdministrationTestCase
Administration tests for Project Browser.

Code

protected function checkRequirements() {
  $errors = parent::checkRequirements();

  if (!extension_loaded('zip')) {
    $errors[] = 'PHP zip extension is not present.';
  }

  return $errors;
}