@@ -79,15 +79,13 @@ public function testGetAppConfig() {
7979 Constants::CONFIG_KEY_DATETIMEFORMAT => 'local ' ,
8080 Constants::CONFIG_KEY_RELATIVEDATES => false ,
8181 Constants::CONFIG_KEY_LIVELOG => true ,
82- 'enabled ' => true ,
8382 ]);
8483
8584 $ this ->assertEquals (new JSONResponse ([
8685 Constants::CONFIG_KEY_SHOWNLEVELS => Constants::LOGGING_LEVELS ,
8786 Constants::CONFIG_KEY_DATETIMEFORMAT => 'local ' ,
8887 Constants::CONFIG_KEY_RELATIVEDATES => false ,
8988 Constants::CONFIG_KEY_LIVELOG => true ,
90- 'enabled ' => true ,
9189 ]), $ this ->settingsController ->getAppConfig ());
9290 }
9391
@@ -127,7 +125,6 @@ public function testUpdateAppConfig(string $configKey, $configValue, string $str
127125 Constants::CONFIG_KEY_DATETIMEFORMAT => 'local ' ,
128126 Constants::CONFIG_KEY_RELATIVEDATES => false ,
129127 Constants::CONFIG_KEY_LIVELOG => true ,
130- 'enabled ' => true ,
131128 ]);
132129
133130 $ this ->assertEquals (new JSONResponse (), $ this ->settingsController ->updateAppConfig ($ configKey , $ configValue ));
@@ -155,7 +152,6 @@ public function testUpdateAppConfig_invalidType() {
155152 Constants::CONFIG_KEY_DATETIMEFORMAT => 'local ' ,
156153 Constants::CONFIG_KEY_RELATIVEDATES => false ,
157154 Constants::CONFIG_KEY_LIVELOG => true ,
158- 'enabled ' => true ,
159155 ]);
160156 $ this ->assertEquals (new JSONResponse ([], Http::STATUS_BAD_REQUEST ), $ this ->settingsController ->updateAppConfig (Constants::CONFIG_KEY_SHOWNLEVELS , 'debug ' ));
161157 }
@@ -173,7 +169,6 @@ public function testUpdateAppConfig_invalidLevel() {
173169 Constants::CONFIG_KEY_DATETIMEFORMAT => 'local ' ,
174170 Constants::CONFIG_KEY_RELATIVEDATES => false ,
175171 Constants::CONFIG_KEY_LIVELOG => true ,
176- 'enabled ' => true ,
177172 ]);
178173
179174 $ this ->assertEquals (new JSONResponse ([], Http::STATUS_BAD_REQUEST ), $ this ->settingsController ->updateAppConfig (Constants::CONFIG_KEY_SHOWNLEVELS , ['debug ' ]));
0 commit comments