diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 14:08:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 14:08:54 +0200 |
commit | 98e7a59ca21b51cbd86d09cd5d217c0c8bf3db77 (patch) | |
tree | 044721fd02d631f561b9279e5181905a2b1bfa49 /tests/front/controller/visitor/FrontControllerMockHelper.php | |
parent | 6f199ee48906ca8cdc7d7f2cacbd4c57f474c879 (diff) | |
parent | b93cfeba7b5ddb8b20d805017404e73eafd68c95 (diff) | |
download | Shaarli-98e7a59ca21b51cbd86d09cd5d217c0c8bf3db77.tar.gz Shaarli-98e7a59ca21b51cbd86d09cd5d217c0c8bf3db77.tar.zst Shaarli-98e7a59ca21b51cbd86d09cd5d217c0c8bf3db77.zip |
Merge pull request #1539 from ArthurHoaro/feature/manual-root-url
Diffstat (limited to 'tests/front/controller/visitor/FrontControllerMockHelper.php')
-rw-r--r-- | tests/front/controller/visitor/FrontControllerMockHelper.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/front/controller/visitor/FrontControllerMockHelper.php b/tests/front/controller/visitor/FrontControllerMockHelper.php index 927e7f0a..6c53289b 100644 --- a/tests/front/controller/visitor/FrontControllerMockHelper.php +++ b/tests/front/controller/visitor/FrontControllerMockHelper.php | |||
@@ -79,8 +79,9 @@ trait FrontControllerMockHelper | |||
79 | $this->container->environment = [ | 79 | $this->container->environment = [ |
80 | 'SERVER_NAME' => 'shaarli', | 80 | 'SERVER_NAME' => 'shaarli', |
81 | 'SERVER_PORT' => '80', | 81 | 'SERVER_PORT' => '80', |
82 | 'REQUEST_URI' => '/daily-rss', | 82 | 'REQUEST_URI' => '/subfolder/daily-rss', |
83 | 'REMOTE_ADDR' => '1.2.3.4', | 83 | 'REMOTE_ADDR' => '1.2.3.4', |
84 | 'SCRIPT_NAME' => '/subfolder/index.php', | ||
84 | ]; | 85 | ]; |
85 | 86 | ||
86 | $this->container->basePath = '/subfolder'; | 87 | $this->container->basePath = '/subfolder'; |