function GenericTest::testMysqliModule
Checks visibility of the module.
File
-
core/
modules/ mysqli/ tests/ src/ Functional/ GenericTest.php, line 20
Class
- GenericTest
- Generic module test for mysqli.
Namespace
Drupal\Tests\mysqli\FunctionalCode
public function testMysqliModule() : void {
$module = $this->getModule();
\Drupal::service('module_installer')->install([
$module,
]);
$info = \Drupal::service('extension.list.module')->getExtensionInfo($module);
$this->assertTrue($info['hidden']);
$this->assertSame(ExtensionLifecycle::EXPERIMENTAL, $info['lifecycle']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.