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/UrlGeneratorTest.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/Unit/Routing/UrlGeneratorTest.php') diff --git a/tests/Unit/Routing/UrlGeneratorTest.php b/tests/Unit/Routing/UrlGeneratorTest.php index 2d2efd31..e128bfe7 100644 --- a/tests/Unit/Routing/UrlGeneratorTest.php +++ b/tests/Unit/Routing/UrlGeneratorTest.php @@ -14,6 +14,7 @@ class UrlGeneratorTest extends TestCase public function provideLinksTo() { return [ + ['/', '/', 'http://foo.bar/', [], 'http://foo.bar/'], ['/foo/path', '/foo/path', 'http://foo.bar/foo/path', [], 'http://foo.bar/foo/path'], ['foo', '/foo', 'https://foo.bar/foo', [], 'https://foo.bar/foo'], ['foo', '/foo', 'http://f.b/foo', ['test' => 'abc', 'bla' => 'foo'], 'http://f.b/foo?test=abc&bla=foo'], -- cgit v1.2.3-54-g00ecf