public function LocaleUpdateDevelopmentReleaseTest::testLocaleUpdateDevelopmentRelease in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php \Drupal\Tests\locale\Functional\LocaleUpdateDevelopmentReleaseTest::testLocaleUpdateDevelopmentRelease()
- 10 core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php \Drupal\Tests\locale\Functional\LocaleUpdateDevelopmentReleaseTest::testLocaleUpdateDevelopmentRelease()
File
- core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateDevelopmentReleaseTest.php, line 35
Class
- LocaleUpdateDevelopmentReleaseTest
- Test for proper version fallback in case of a development release.
Namespace
Drupal\Tests\locale\FunctionalCode
public function testLocaleUpdateDevelopmentRelease() {
$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.');
}