You are here

public function LingotekSupportedLocalesControllerTest::testSupportedLocales in Lingotek Translation 3.3.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
  2. 4.0.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
  3. 3.0.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
  4. 3.1.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
  5. 3.2.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
  6. 3.4.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
  7. 3.5.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
  8. 3.6.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
  9. 3.7.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
  10. 3.8.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()

Tests that the supported locales are rendered.

File

tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php, line 17

Class

LingotekSupportedLocalesControllerTest
Tests the supported locales controller.

Namespace

Drupal\Tests\lingotek\Functional\Controller

Code

public function testSupportedLocales() {
  $this
    ->drupalGet('/admin/lingotek/supported-locales');
  $this
    ->assertText('German (Austria)');
  $this
    ->assertText('German (Germany)');
  $this
    ->assertText('Spanish (Spain)');
}