Mercurial > hg > isophonics-drupal-site
view core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | |
children |
line wrap: on
line source
<?php namespace Drupal\FunctionalTests\Installer; /** * Tests that an install profile can implement hook_requirements(). * * @group Installer */ class InstallerProfileRequirementsTest extends InstallerTestBase { /** * {@inheritdoc} */ protected $profile = 'testing_requirements'; /** * {@inheritdoc} */ protected function setUpSettings() { // This form will never be reached. } /** * {@inheritdoc} */ protected function setUpSite() { // This form will never be reached. } /** * Assert that the profile failed hook_requirements(). */ public function testHookRequirementsFailure() { $this->assertSession()->pageTextContains('Testing requirements failed requirements.'); } }