Backup of db before drupal security update
[yaffs-website] / web / core / modules / content_translation / src / Tests / Views / ContentTranslationViewsUITest.php
1 <?php
2
3 namespace Drupal\content_translation\Tests\Views;
4
5 use Drupal\views_ui\Tests\UITestBase;
6
7 /**
8  * Tests the views UI when content_translation is enabled.
9  *
10  * @group content_translation
11  */
12 class ContentTranslationViewsUITest extends UITestBase {
13
14   /**
15    * Views used by this test.
16    *
17    * @var array
18    */
19   public static $testViews = ['test_view'];
20
21   /**
22    * Modules to enable.
23    *
24    * @var array
25    */
26   public static $modules = ['content_translation'];
27
28   /**
29    * Tests the views UI.
30    */
31   public function testViewsUI() {
32     $this->drupalGet('admin/structure/views/view/test_view/edit');
33     $this->assertTitle(t('@label (@table) | @site-name', ['@label' => 'Test view', '@table' => 'Views test data', '@site-name' => $this->config('system.site')->get('name')]));
34   }
35
36 }