function ConfigInstallProfileUnmetDependenciesTest::testInstalled
Confirms that the installation succeeded.
File
- 
              core/modules/ config/ tests/ src/ Functional/ ConfigInstallProfileUnmetDependenciesTest.php, line 90 
Class
- ConfigInstallProfileUnmetDependenciesTest
- Tests install profile config overrides can not add unmet dependencies.
Namespace
Drupal\Tests\config\FunctionalCode
public function testInstalled() {
  if ($this->expectedException) {
    $this->assertStringContainsString('Configuration objects provided by <em class="placeholder">testing_config_overrides</em> have unmet dependencies: <em class="placeholder">system.action.user_block_user_action (does_not_exist)</em>', $this->expectedException
      ->getMessage());
    $this->assertStringContainsString('Drupal\\Core\\Config\\UnmetDependenciesException', $this->expectedException
      ->getMessage());
  }
  else {
    $this->fail('Expected Drupal\\Core\\Config\\UnmetDependenciesException exception not thrown');
  }
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
