LingotekSupportedLocalesControllerTest.php in Lingotek Translation 3.0.x
Same filename in this branch
Same filename and directory in other branches
- 8.2 tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
- 4.0.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
- 3.1.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
- 3.2.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
- 3.3.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
- 3.4.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
- 3.5.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
- 3.6.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
- 3.7.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
- 3.8.x tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.php
File
tests/src/Functional/Controller/LingotekSupportedLocalesControllerTest.phpView source
<?php
namespace Drupal\Tests\lingotek\Functional\Controller;
use Drupal\Tests\lingotek\Functional\LingotekTestBase;
/**
* Tests the supported locales controller.
*
* @group lingotek
*/
class LingotekSupportedLocalesControllerTest extends LingotekTestBase {
/**
* Tests that the supported locales are rendered.
*/
public function testSupportedLocales() {
$this
->drupalGet('/admin/lingotek/supported-locales');
$this
->assertText('German (Austria)');
$this
->assertText('German (Germany)');
$this
->assertText('Spanish (Spain)');
}
}
Classes
Name | Description |
---|---|
LingotekSupportedLocalesControllerTest | Tests the supported locales controller. |