diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-12 13:41:33 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-08-12 17:36:52 +0200 |
commit | f46e921b710b02d5a1f17f0dd076a5bf085ae735 (patch) | |
tree | a74ffe30a07e1e59886262b7d56f65f55e52049c /tests/Unit/Routing/LegacyUrlGeneratorTest.php | |
parent | 98b03d5c679e91891d6283d04613c2afc29edf59 (diff) |
Use domain for links to '/' to fix assets URLs on subdirectories
Diffstat (limited to 'tests/Unit/Routing/LegacyUrlGeneratorTest.php')
-rw-r--r-- | tests/Unit/Routing/LegacyUrlGeneratorTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
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'], ]; } |