public function ModuleInstallTest::testUnknownUndiscoverableVersion in Lightning Core 8.3
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.2 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 75
Class
- ModuleInstallTest
- @group lightning_core @group orca_public
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);
}