Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / views / tests / src / Unit / Plugin / HandlerBaseTest.php
index 12b7ca199822769b786d854bdbb1886bd262104d..ac5a1fe4b9392386b8422c6c5383a4289b26ddaa 100644 (file)
@@ -73,18 +73,22 @@ class HandlerBaseTest extends UnitTestCase {
     $this->viewsData->expects($this->any())
       ->method('get')
       ->willReturnMap([
-        ['test_entity_type_table', [
-          'table' => ['entity type' => 'test_entity_type'],
-          'test_relationship' => [
-            'relationship' => [
-              'base' => 'test_other_entity_type_table',
-              'base field' => 'id',
+        [
+          'test_entity_type_table',
+          [
+            'table' => ['entity type' => 'test_entity_type'],
+            'test_relationship' => [
+              'relationship' => [
+                'base' => 'test_other_entity_type_table',
+                'base field' => 'id',
+              ],
             ],
           ],
-        ]],
-        ['test_other_entity_type_table', [
-          'table' => ['entity type' => 'test_other_entity_type'],
-        ]],
+        ],
+        [
+          'test_other_entity_type_table',
+          ['table' => ['entity type' => 'test_other_entity_type']],
+        ],
       ]);
     $handler->setViewsData($this->viewsData);