function UpdatePathTestBase::__construct

Constructs an UpdatePathTestCase object.

Parameters

$test_id: (optional) The ID of the test. Tests with the same id are reported together.

Overrides WebTestBase::__construct

File

core/modules/system/src/Tests/Update/UpdatePathTestBase.php, line 141

Class

UpdatePathTestBase
Provides a base class for writing an update test.

Namespace

Drupal\system\Tests\Update

Code

public function __construct($test_id = NULL) {
  parent::__construct($test_id);
  $this->zlibInstalled = function_exists('gzopen');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.