X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FUtility%2FUnroutedUrlAssemblerTest.php;h=a47d2062ea76c4f39e53aa6757ae91ac7ae1cb28;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=01b16ad43fb8a1941d253e0a63e273a1a79cf8e3;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php b/web/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php index 01b16ad43..a47d2062e 100644 --- a/web/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php +++ b/web/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @@ -121,10 +121,10 @@ class UnroutedUrlAssemblerTest extends UnitTestCase { ['base:example', ['query' => ['foo' => 'bar']], FALSE, '/example?foo=bar'], ['base:example', ['query' => ['foo' => '"bar"']], FALSE, '/example?foo=%22bar%22'], ['base:example', ['query' => ['foo' => '"bar"', 'zoo' => 'baz']], FALSE, '/example?foo=%22bar%22&zoo=baz'], - ['base:example', ['fragment' => 'example', ], FALSE, '/example#example'], + ['base:example', ['fragment' => 'example'], FALSE, '/example#example'], ['base:example', [], TRUE, '/subdir/example'], ['base:example', ['query' => ['foo' => 'bar']], TRUE, '/subdir/example?foo=bar'], - ['base:example', ['fragment' => 'example', ], TRUE, '/subdir/example#example'], + ['base:example', ['fragment' => 'example'], TRUE, '/subdir/example#example'], ['base:/drupal.org', [], FALSE, '/drupal.org'], ]; } @@ -147,7 +147,7 @@ class UnroutedUrlAssemblerTest extends UnitTestCase { $this->setupRequestStack(FALSE); $this->pathProcessor->expects($this->exactly(2)) ->method('processOutbound') - ->willReturnCallback(function($path, &$options = [], Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) { + ->willReturnCallback(function ($path, &$options = [], Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) { if ($bubbleable_metadata) { $bubbleable_metadata->setCacheContexts(['some-cache-context']); }