You are here

public function LocaleUpdateDevelopmentReleaseTest::testLocaleUpdateDevelopmentRelease in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php \Drupal\locale\Tests\LocaleUpdateDevelopmentReleaseTest::testLocaleUpdateDevelopmentRelease()

File

core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php, line 29
Contains \Drupal\locale\Tests\LocaleUpdateDevelopmentReleaseTest.

Class

LocaleUpdateDevelopmentReleaseTest
Test for proper version fallback in case of a development release.

Namespace

Drupal\locale\Tests

Code

public function testLocaleUpdateDevelopmentRelease() {
  $projects = locale_translation_build_projects();
  $this
    ->verbose($projects['drupal']->info['version']);
  $this
    ->assertEqual($projects['drupal']->info['version'], '8.0.x', 'The branch of the core dev release.');
  $this
    ->verbose($projects['contrib']->info['version']);
  $this
    ->assertEqual($projects['contrib']->info['version'], '12.x-10.x', 'The branch of the contrib module dev release.');
}