Mercurial > hg > isophonics-drupal-site
annotate core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | c2387f117808 |
children |
rev | line source |
---|---|
Chris@16 | 1 <?php |
Chris@16 | 2 |
Chris@16 | 3 namespace Drupal\Tests\locale\Functional; |
Chris@16 | 4 |
Chris@16 | 5 /** |
Chris@16 | 6 * Tests installing in a different language with a dev version string. |
Chris@16 | 7 * |
Chris@16 | 8 * @group locale |
Chris@16 | 9 */ |
Chris@16 | 10 class LocaleNonInteractiveDevInstallTest extends LocaleNonInteractiveInstallTest { |
Chris@16 | 11 |
Chris@16 | 12 /** |
Chris@16 | 13 * {@inheritdoc} |
Chris@16 | 14 */ |
Chris@16 | 15 protected function getVersionStringToTest() { |
Chris@16 | 16 include_once $this->root . '/core/includes/install.core.inc'; |
Chris@16 | 17 $version = _install_get_version_info(\Drupal::VERSION); |
Chris@16 | 18 return $version['major'] . '.' . $version['minor'] . '.x'; |
Chris@16 | 19 } |
Chris@16 | 20 |
Chris@16 | 21 } |