projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
views_ui
/
tests
/
src
/
Functional
/
DisplayPathTest.php
diff --git
a/web/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
b/web/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
index f8e58e719c70f79c8d9b62f91fabba76a26ce8dd..7291dc2e8de8413a389238b3f3c0b3b691c50a4e 100644
(file)
--- a/
web/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
+++ b/
web/core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
@@
-4,7
+4,7
@@
namespace Drupal\Tests\views_ui\Functional;
use Drupal\Core\Menu\MenuTreeParameters;
use Drupal\menu_link_content\Entity\MenuLinkContent;
use Drupal\Core\Menu\MenuTreeParameters;
use Drupal\menu_link_content\Entity\MenuLinkContent;
-use Drupal\
system\Tests
\Cache\AssertPageCacheContextsAndTagsTrait;
+use Drupal\
Tests\system\Functional
\Cache\AssertPageCacheContextsAndTagsTrait;
/**
* Tests the UI of generic display path plugin.
/**
* Tests the UI of generic display path plugin.
@@
-13,6
+13,7
@@
use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait;
* @see \Drupal\views\Plugin\views\display\PathPluginBase
*/
class DisplayPathTest extends UITestBase {
* @see \Drupal\views\Plugin\views\display\PathPluginBase
*/
class DisplayPathTest extends UITestBase {
+
use AssertPageCacheContextsAndTagsTrait;
protected function setUp($import_test_views = TRUE) {
use AssertPageCacheContextsAndTagsTrait;
protected function setUp($import_test_views = TRUE) {
@@
-165,7
+166,7
@@
class DisplayPathTest extends UITestBase {
unset($menu_options['@attributes']);
// Convert array to make the next assertion possible.
unset($menu_options['@attributes']);
// Convert array to make the next assertion possible.
- $menu_options = array_map(function($element) {
+ $menu_options = array_map(function
($element) {
return $element->getText();
}, $menu_options);
return $element->getText();
}, $menu_options);