function InstallUninstallTest::assertModuleSuccessfullyInstalled

Asserts that a module was successfully installed.

@internal

Parameters

string $name: Name of the module to check.

File

core/modules/system/tests/src/Functional/Module/InstallUninstallTest.php, line 293

Class

InstallUninstallTest
Install/uninstall core module and confirm table creation/deletion.

Namespace

Drupal\Tests\system\Functional\Module

Code

protected function assertModuleSuccessfullyInstalled(string $name) : void {
  $this->assertModules([
    $name,
  ], TRUE);
  $this->assertModuleTablesExist($name);
  $this->assertModuleConfig($name);
}

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