You are here

public function ContentTranslationViewsUITest::testViewsUI in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/content_translation/src/Tests/Views/ContentTranslationViewsUITest.php \Drupal\content_translation\Tests\Views\ContentTranslationViewsUITest::testViewsUI()

Tests the views UI.

File

core/modules/content_translation/src/Tests/Views/ContentTranslationViewsUITest.php, line 36
Contains \Drupal\content_translation\Tests\Views\ContentTranslationViewsUITest.

Class

ContentTranslationViewsUITest
Tests the views UI when content_translation is enabled.

Namespace

Drupal\content_translation\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
      ->config('system.site')
      ->get('name'),
  )));
}