You are here

public function LocaleLocaleLookupTest::testCircularDependency in Zircon Profile 8

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

Tests that there are no circular dependencies.

File

core/modules/locale/src/Tests/LocaleLocaleLookupTest.php, line 43
Contains \Drupal\locale\Tests\LocaleLocaleLookupTest.

Class

LocaleLocaleLookupTest
Tests LocaleLookup.

Namespace

Drupal\locale\Tests

Code

public function testCircularDependency() {

  // Ensure that we can enable early_translation_test on a non-english site.
  $this
    ->drupalPostForm('admin/modules', array(
    'modules[Testing][early_translation_test][enable]' => TRUE,
  ), t('Install'));
  $this
    ->assertResponse(200);
}