X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FEntity%2FEntityUrlTest.php;h=f1c4ca8ec9fa2d2bb38f248ea5b896a4f7202b73;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=8381ea7c64e2b07e93d4e2b6bd1ba0bdc8872004;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php b/web/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php index 8381ea7c6..f1c4ca8ec 100644 --- a/web/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php +++ b/web/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php @@ -362,7 +362,9 @@ class EntityUrlTest extends UnitTestCase { public function providerTestToUrlUriCallback() { $test_cases = []; - $uri_callback = function () { return Url::fromRoute(''); }; + $uri_callback = function () { + return Url::fromRoute(''); + }; $test_cases['uri_callback'] = [[], $uri_callback]; $test_cases['bundle_uri_callback'] = [['uri_callback' => $uri_callback], NULL]; @@ -581,8 +583,7 @@ class EntityUrlTest extends UnitTestCase { protected function registerBundleInfo($bundle_info) { $this->entityManager ->getBundleInfo($this->entityTypeId) - ->willReturn([$this->entityTypeId => $bundle_info]) - ; + ->willReturn([$this->entityTypeId => $bundle_info]); } }