public function LingotekSupportedLocalesControllerTest::testSupportedLocales in Lingotek Translation 3.3.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
- 4.0.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
- 3.0.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
- 3.1.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
- 3.2.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
- 3.4.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
- 3.5.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
- 3.6.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
- 3.7.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php \Drupal\Tests\lingotek\Functional\Controller\LingotekSupportedLocalesControllerTest::testSupportedLocales()
- 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\ControllerCode
public function testSupportedLocales() {
$this
->drupalGet('/admin/lingotek/supported-locales');
$this
->assertText('German (Austria)');
$this
->assertText('German (Germany)');
$this
->assertText('Spanish (Spain)');
}