public function ModuleInstallTest::testUnknownUndiscoverableVersion in Lightning Core 8.2
Same name and namespace in other branches
- 8.5 tests/src/Kernel/ModuleInstallTest.php \Drupal\Tests\lightning_core\Kernel\ModuleInstallTest::testUnknownUndiscoverableVersion()
- 8 tests/src/Kernel/ModuleInstallTest.php \Drupal\Tests\lightning_core\Kernel\ModuleInstallTest::testUnknownUndiscoverableVersion()
- 8.3 tests/src/Kernel/ModuleInstallTest.php \Drupal\Tests\lightning_core\Kernel\ModuleInstallTest::testUnknownUndiscoverableVersion()
- 8.4 tests/src/Kernel/ModuleInstallTest.php \Drupal\Tests\lightning_core\Kernel\ModuleInstallTest::testUnknownUndiscoverableVersion()
@depends testUnknownDiscoverableVersion
File
- tests/
src/ Kernel/ ModuleInstallTest.php, line 74
Class
- ModuleInstallTest
- @group lightning @group lightning_core
Namespace
Drupal\Tests\lightning_core\KernelCode
public function testUnknownUndiscoverableVersion() {
lightning_core_modules_installed([
'fubar',
]);
$version = $this->container
->get('config.factory')
->get(UpdateManager::CONFIG_NAME)
->get('fubar');
$this
->assertSame(UpdateManager::VERSION_UNKNOWN, $version);
}