diff options
author | ArthurHoaro <arthur.hoareau@wizacha.com> | 2020-07-23 16:41:32 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 3ee8351e438f13ccf36062ce956e0b4a4d5f4a29 (patch) | |
tree | 5c5ea281a072e4dffe0b97c12269278c999710df /tests | |
parent | fabff3835da26e6c95cea56b2a01a03749dec7c8 (diff) | |
download | Shaarli-3ee8351e438f13ccf36062ce956e0b4a4d5f4a29.tar.gz Shaarli-3ee8351e438f13ccf36062ce956e0b4a4d5f4a29.tar.zst Shaarli-3ee8351e438f13ccf36062ce956e0b4a4d5f4a29.zip |
Multiple small fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/front/controller/admin/PluginsControllerTest.php | 2 | ||||
-rw-r--r-- | tests/front/controller/visitor/InstallControllerTest.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/front/controller/admin/PluginsControllerTest.php b/tests/front/controller/admin/PluginsControllerTest.php index 700a0df2..ad0cda70 100644 --- a/tests/front/controller/admin/PluginsControllerTest.php +++ b/tests/front/controller/admin/PluginsControllerTest.php | |||
@@ -162,7 +162,7 @@ class PluginsControllerTest extends TestCase | |||
162 | ->method('setSessionParameter') | 162 | ->method('setSessionParameter') |
163 | ->with( | 163 | ->with( |
164 | SessionManager::KEY_ERROR_MESSAGES, | 164 | SessionManager::KEY_ERROR_MESSAGES, |
165 | ['ERROR while saving plugin configuration: ' . PHP_EOL . $message] | 165 | ['Error while saving plugin configuration: ' . PHP_EOL . $message] |
166 | ) | 166 | ) |
167 | ; | 167 | ; |
168 | 168 | ||
diff --git a/tests/front/controller/visitor/InstallControllerTest.php b/tests/front/controller/visitor/InstallControllerTest.php index 6871fdd9..29c4d7a0 100644 --- a/tests/front/controller/visitor/InstallControllerTest.php +++ b/tests/front/controller/visitor/InstallControllerTest.php | |||
@@ -189,6 +189,7 @@ class InstallControllerTest extends TestCase | |||
189 | 'updates.check_updates' => true, | 189 | 'updates.check_updates' => true, |
190 | 'api.enabled' => true, | 190 | 'api.enabled' => true, |
191 | 'api.secret' => '_NOT_EMPTY', | 191 | 'api.secret' => '_NOT_EMPTY', |
192 | 'general.header_link' => '/subfolder', | ||
192 | ]; | 193 | ]; |
193 | 194 | ||
194 | $request = $this->createMock(Request::class); | 195 | $request = $this->createMock(Request::class); |