public function TranslationEntityViewsUITest::testViewsUI

Tests the views UI.

File

drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/Views/TranslationEntityViewsUITest.php, line 42
Contains \Drupal\translation_entity\Tests\Views\TranslationEntityViewsUITest.

Class

TranslationEntityViewsUITest
Tests the views UI when translation_entity is enabled.

Namespace

Drupal\translation_entity\Tests\Views

Code

public function testViewsUI() {
  $this
    ->drupalGet('admin/structure/views/view/test_view/edit');
  $this
    ->assertTitle(t('@label (@table) | @site-name', array(
    '@label' => 'Test view',
    '@table' => 'Views test data',
    '@site-name' => $this->container
      ->get('config.factory')
      ->get('system.site')
      ->get('name'),
  )));
}