class LocaleNonInteractiveDevInstallTest in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php \Drupal\Tests\locale\Functional\LocaleNonInteractiveDevInstallTest
- 9 core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php \Drupal\Tests\locale\Functional\LocaleNonInteractiveDevInstallTest
Tests installing in a different language with a dev version string.
@group locale
Hierarchy
- class \Drupal\Tests\BrowserTestBase extends \PHPUnit\Framework\TestCase uses \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait, FunctionalTestSetupTrait, TestSetupTrait, BlockCreationTrait, ConfigTestTrait, ExtensionListTestTrait, ContentTypeCreationTrait, NodeCreationTrait, RandomGeneratorTrait, TestRequirementsTrait, PhpUnitWarnings, UiHelperTrait, UserCreationTrait, XdebugRequestTrait
- class \Drupal\Tests\locale\Functional\LocaleNonInteractiveInstallTest
- class \Drupal\Tests\locale\Functional\LocaleNonInteractiveDevInstallTest
- class \Drupal\Tests\locale\Functional\LocaleNonInteractiveInstallTest
Expanded class hierarchy of LocaleNonInteractiveDevInstallTest
File
- core/
modules/ locale/ tests/ src/ Functional/ LocaleNonInteractiveDevInstallTest.php, line 10
Namespace
Drupal\Tests\locale\FunctionalView source
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';
}
}