class TestingProfileInstallTest
Same name and namespace in other branches
- 11.x core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php \Drupal\FunctionalTests\Installer\TestingProfileInstallTest
- 10 core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php \Drupal\FunctionalTests\Installer\TestingProfileInstallTest
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php \Drupal\FunctionalTests\Installer\TestingProfileInstallTest
Tests installing the Testing profile with update notifications on.
@group Installer
Hierarchy
- class \Drupal\Tests\BrowserTestBase uses \Drupal\Core\Test\FunctionalTestSetupTrait, \Drupal\Tests\UiHelperTrait, \Drupal\Core\Test\TestSetupTrait, \Drupal\Tests\block\Traits\BlockCreationTrait, \Drupal\FunctionalTests\AssertLegacyTrait, \Drupal\Tests\RandomGeneratorTrait, \Drupal\Tests\node\Traits\NodeCreationTrait, \Drupal\Tests\node\Traits\ContentTypeCreationTrait, \Drupal\Tests\ConfigTestTrait, \Drupal\Tests\TestRequirementsTrait, \Drupal\Tests\user\Traits\UserCreationTrait, \Drupal\Tests\XdebugRequestTrait, \Drupal\Tests\Traits\PhpUnitWarnings, \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait, \Drupal\Tests\ExtensionListTestTrait implements \PHPUnit\Framework\TestCase
- class \Drupal\FunctionalTests\Installer\TestingProfileInstallTest implements \Drupal\Tests\BrowserTestBase
Expanded class hierarchy of TestingProfileInstallTest
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ TestingProfileInstallTest.php, line 12
Namespace
Drupal\FunctionalTests\InstallerView source
class TestingProfileInstallTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected $profile = 'testing';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* Ensure the Update module is installed.
*/
public function testUpdateModuleInstall() {
$this->assertTrue(\Drupal::moduleHandler()->moduleExists('update'));
}
/**
* {@inheritdoc}
*/
protected function installParameters() {
$params = parent::installParameters();
$params['forms']['install_configure_form']['enable_update_status_module'] = TRUE;
return $params;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.