Loading core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php +7 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ use Drupal\Tests\views\Functional\ViewTestBase; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\node\Entity\Node; use Drupal\Tests\WaitTerminateTestTrait; /** * Tests the feed display plugin with translated content. Loading @@ -16,6 +17,7 @@ class DisplayFeedTranslationTest extends ViewTestBase { use PathAliasTestTrait; use WaitTerminateTestTrait; /** * Views used by this test. Loading Loading @@ -85,6 +87,11 @@ protected function setUp($import_test_views = TRUE, $modules = ['views_test_conf // Rebuild the container so that the new languages are picked up by services // that hold a list of languages. $this->rebuildContainer(); // The \Drupal\path_alias\AliasWhitelist service performs cache clears after // Drupal has flushed the response to the client. We use // WaitTerminateTestTrait to wait for Drupal to do this before continuing. $this->setWaitForTerminate(); } /** Loading Loading
core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php +7 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ use Drupal\Tests\views\Functional\ViewTestBase; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\node\Entity\Node; use Drupal\Tests\WaitTerminateTestTrait; /** * Tests the feed display plugin with translated content. Loading @@ -16,6 +17,7 @@ class DisplayFeedTranslationTest extends ViewTestBase { use PathAliasTestTrait; use WaitTerminateTestTrait; /** * Views used by this test. Loading Loading @@ -85,6 +87,11 @@ protected function setUp($import_test_views = TRUE, $modules = ['views_test_conf // Rebuild the container so that the new languages are picked up by services // that hold a list of languages. $this->rebuildContainer(); // The \Drupal\path_alias\AliasWhitelist service performs cache clears after // Drupal has flushed the response to the client. We use // WaitTerminateTestTrait to wait for Drupal to do this before continuing. $this->setWaitForTerminate(); } /** Loading