diff --git a/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewListControllerTest.php b/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewListControllerTest.php index 0e06fbd..61fa474 100644 --- a/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewListControllerTest.php +++ b/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewListControllerTest.php @@ -102,7 +102,9 @@ public function testBuildRowEntityList() { // @todo Remove this once t() is converted to a service. namespace { - function t($string) { - return $string; + if (!function_exists('t')) { + function t($string) { + return $string; + } } }