From f46e921b710b02d5a1f17f0dd076a5bf085ae735 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 12 Aug 2018 13:41:33 +0200 Subject: Use domain for links to '/' to fix assets URLs on subdirectories --- tests/Unit/Routing/LegacyUrlGeneratorTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Unit/Routing/LegacyUrlGeneratorTest.php') diff --git a/tests/Unit/Routing/LegacyUrlGeneratorTest.php b/tests/Unit/Routing/LegacyUrlGeneratorTest.php index 55b3d721..3d42afbd 100644 --- a/tests/Unit/Routing/LegacyUrlGeneratorTest.php +++ b/tests/Unit/Routing/LegacyUrlGeneratorTest.php @@ -14,9 +14,9 @@ class LegacyUrlGeneratorTest extends TestCase public function provideLinksTo() { return [ - ['/', 'http://foo.bar/index.php', [], 'http://foo.bar/index.php'], + ['/', 'http://foo.bar/index.php', [], 'http://foo.bar/'], ['/foo-path', 'http://foo.bar/index.php/index.php', [], 'http://foo.bar/index.php?p=foo_path'], - ['/foo', 'http://foo.bar/index.php/index.php', [], 'http://foo.bar/index.php?p=foo'], + ['/foo', 'http://foo.bar/index.php/index.php', [], 'http://foo.bar/index.php?p=foo'], ['foo', 'http://foo.bar/index.php', ['test' => 'abc'], 'http://foo.bar/index.php?p=foo&test=abc'], ]; } -- cgit v1.3.1