function LocaleUpdateDevelopmentReleaseTest::testLocaleUpdateDevelopmentRelease
Same name in other branches
- 9 core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php \Drupal\Tests\locale\Functional\LocaleUpdateDevelopmentReleaseTest::testLocaleUpdateDevelopmentRelease()
- 8.9.x core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php \Drupal\Tests\locale\Functional\LocaleUpdateDevelopmentReleaseTest::testLocaleUpdateDevelopmentRelease()
- 11.x core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php \Drupal\Tests\locale\Functional\LocaleUpdateDevelopmentReleaseTest::testLocaleUpdateDevelopmentRelease()
File
-
core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateDevelopmentReleaseTest.php, line 43
Class
- LocaleUpdateDevelopmentReleaseTest
- Test for proper version fallback in case of a development release.
Namespace
Drupal\Tests\locale\FunctionalCode
public function testLocaleUpdateDevelopmentRelease() : void {
$projects = locale_translation_build_projects();
$this->assertEquals('8.0.x', $projects['drupal']->info['version'], 'The branch of the core dev release.');
$this->assertEquals('12.x-10.x', $projects['contrib']->info['version'], 'The branch of the contrib module dev release.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.