function UpdatePathTestBase::setUp

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::setUp()
  2. 8.9.x core/modules/system/src/Tests/Update/UpdatePathTestBase.php \Drupal\system\Tests\Update\UpdatePathTestBase::setUp()
  3. 8.9.x core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php \Drupal\FunctionalTests\Update\UpdatePathTestBase::setUp()

Overrides BrowserTestBase::setUp

10 calls to UpdatePathTestBase::setUp()
BlockContentRemoveConstraint::setUp in core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php
MediaMappingUpdateTest::setUp in core/modules/media/tests/src/Functional/Update/MediaMappingUpdateTest.php
MediaSettingsDefaultIframeDomainUpdateTest::setUp in core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php
OembedUpdateTest::setUp in core/modules/media/tests/src/Functional/FieldFormatter/OembedUpdateTest.php
UpdateSettingsDefaultFetchUrlUpdateTest::setUp in core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php

... See full list

10 methods override UpdatePathTestBase::setUp()
BlockContentRemoveConstraint::setUp in core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php
MediaMappingUpdateTest::setUp in core/modules/media/tests/src/Functional/Update/MediaMappingUpdateTest.php
MediaSettingsDefaultIframeDomainUpdateTest::setUp in core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php
OembedUpdateTest::setUp in core/modules/media/tests/src/Functional/FieldFormatter/OembedUpdateTest.php
UpdateSettingsDefaultFetchUrlUpdateTest::setUp in core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php

... See full list

File

core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php, line 90

Class

UpdatePathTestBase
Provides a base class for writing an update test.

Namespace

Drupal\FunctionalTests\Update

Code

protected function setUp() : void {
    if (!extension_loaded('zlib')) {
        $this->markTestSkipped('The zlib extension is not available.');
    }
    parent::setUp();
}

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