X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fviews%2Ftests%2Fsrc%2FUnit%2FViewsDataHelperTest.php;fp=web%2Fcore%2Fmodules%2Fviews%2Ftests%2Fsrc%2FUnit%2FViewsDataHelperTest.php;h=b08938c234e0723916b5fcfe54816f6b1d810933;hp=2289f236e6ce7f998484efacd8bfcc6222bfb813;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php b/web/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php index 2289f236e..b08938c23 100644 --- a/web/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php +++ b/web/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php @@ -97,7 +97,7 @@ class ViewsDataHelperTest extends UnitTestCase { foreach ($handler_types as $handler_type) { $fields = $data_helper->fetchFields('views_test_data', $handler_type); $expected_keys = $expected[$handler_type]; - array_walk($expected_keys, function(&$item) { + array_walk($expected_keys, function (&$item) { $item = "views_test_data.$item"; }); $this->assertEquals($expected_keys, array_keys($fields), "Handlers of type $handler_type are not listed as expected"); @@ -108,7 +108,7 @@ class ViewsDataHelperTest extends UnitTestCase { $fields = $data_helper->fetchFields('views_test_data', 'area', FALSE, $sub_type); $expected_keys = $expected[$sub_type]; - array_walk($expected_keys, function(&$item) { + array_walk($expected_keys, function (&$item) { $item = "views_test_data.$item"; }); $this->assertEquals($expected_keys, array_keys($fields), "Sub_type $sub_type is not filtered as expected.");