function InstallerLegacyTest::testDrupalInstallationAttempted

Tests drupal_installation_attempted().

@expectedDeprecation drupal_installation_attempted() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Installer\InstallerKernel::installationAttempted() instead. See https://www.drupal.org/node/3035275

File

core/tests/Drupal/KernelTests/Core/Installer/InstallerLegacyTest.php, line 19

Class

InstallerLegacyTest
Tests for installer related legacy API.

Namespace

Drupal\KernelTests\Core\Installer

Code

public function testDrupalInstallationAttempted() {
    $this->assertFalse(drupal_installation_attempted());
}

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