function LocaleLocaleLookupTest::testCircularDependency
Same name in other branches
- 9 core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php \Drupal\Tests\locale\Functional\LocaleLocaleLookupTest::testCircularDependency()
- 8.9.x core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php \Drupal\Tests\locale\Functional\LocaleLocaleLookupTest::testCircularDependency()
- 10 core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php \Drupal\Tests\locale\Functional\LocaleLocaleLookupTest::testCircularDependency()
Tests that there are no circular dependencies.
File
-
core/
modules/ locale/ tests/ src/ Functional/ LocaleLocaleLookupTest.php, line 55
Class
- LocaleLocaleLookupTest
- Tests LocaleLookup.
Namespace
Drupal\Tests\locale\FunctionalCode
public function testCircularDependency() : void {
// Ensure that we can enable early_translation_test on a non-english site.
$this->drupalGet('admin/modules');
$this->submitForm([
'modules[early_translation_test][enable]' => TRUE,
], 'Install');
$this->assertSession()
->statusCodeEquals(200);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.