Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / views / tests / src / Unit / Plugin / HandlerBaseTest.php
index 12b7ca199822769b786d854bdbb1886bd262104d..ec79b52d94c8ec8c32edcfc68aa9f42253ef76d9 100644 (file)
@@ -44,7 +44,7 @@ class HandlerBaseTest extends UnitTestCase {
       ->method('get')
       ->with('test_entity_type_table')
       ->willReturn([
-        'table' => ['entity type' => 'test_entity_type']
+        'table' => ['entity type' => 'test_entity_type'],
       ]);
     $handler->setViewsData($this->viewsData);
 
@@ -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);