diff options
author | Alexandre Flament <alex@al-f.net> | 2020-12-03 11:35:12 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-12-03 11:35:12 +0100 |
commit | d0d7a3e1c2d75fb0d9be3594ab113a804e4462a4 (patch) | |
tree | 9980b24421de0b12670b2ede2edc42a73ba6df42 /tests | |
parent | 89fbb85d454959be725cd4ca19c36c31d05d3289 (diff) | |
download | searxng-d0d7a3e1c2d75fb0d9be3594ab113a804e4462a4.tar.gz searxng-d0d7a3e1c2d75fb0d9be3594ab113a804e4462a4.zip |
[fix] settings_loader: don't crash when a key exists only in the user settings
typical use case: result_proxy can be defined in the user settings,
but are not defined the default settings.yml
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/settings/user_settings_simple.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/settings/user_settings_simple.yml b/tests/unit/settings/user_settings_simple.yml index 36e5f1647..bc6ed0cfe 100644 --- a/tests/unit/settings/user_settings_simple.yml +++ b/tests/unit/settings/user_settings_simple.yml @@ -4,3 +4,6 @@ server: bind_address: "0.0.0.0" default_http_headers: Custom-Header: Custom-Value +result_proxy: + url : https://localhost/morty + key : "$ecretKey" |