You are here

function UpdatePathTestBase::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Update/UpdatePathTestBase.php \Drupal\system\Tests\Update\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 140
Contains \Drupal\system\Tests\Update\UpdatePathTestBase.

Class

UpdatePathTestBase
Provides a base class for writing an update test.

Namespace

Drupal\system\Tests\Update

Code

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