You are here

LocaleNonInteractiveDevInstallTest.php in Drupal 10

File

core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
View source
<?php

namespace Drupal\Tests\locale\Functional;


/**
 * Tests installing in a different language with a dev version string.
 *
 * @group locale
 */
class LocaleNonInteractiveDevInstallTest extends LocaleNonInteractiveInstallTest {

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';

  /**
   * {@inheritdoc}
   */
  protected function getVersionStringToTest() {
    include_once $this->root . '/core/includes/install.core.inc';
    $version = _install_get_version_info(\Drupal::VERSION);
    return $version['major'] . '.' . $version['minor'] . '.x';
  }

}

Classes

Namesort descending Description
LocaleNonInteractiveDevInstallTest Tests installing in a different language with a dev version string.