summaryrefslogtreecommitdiffstats
path: root/web/api/tests
diff options
context:
space:
mode:
Diffstat (limited to 'web/api/tests')
-rw-r--r--web/api/tests/valid_urls.c4
-rw-r--r--web/api/tests/web_api.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/web/api/tests/valid_urls.c b/web/api/tests/valid_urls.c
index 30ae23247..30dc29828 100644
--- a/web/api/tests/valid_urls.c
+++ b/web/api/tests/valid_urls.c
@@ -75,9 +75,9 @@ void __wrap_finished_web_request_statistics(
char *__wrap_config_get(struct config *root, const char *section, const char *name, const char *default_value)
{
- if (!strcmp(section, CONFIG_SECTION_WEB) && !strcmp(name, "web files owner"))
- return "netdata";
(void)root;
+ (void)section;
+ (void)name;
(void)default_value;
return "UNKNOWN FIX ME";
}
diff --git a/web/api/tests/web_api.c b/web/api/tests/web_api.c
index b96213255..df4efdabd 100644
--- a/web/api/tests/web_api.c
+++ b/web/api/tests/web_api.c
@@ -75,9 +75,9 @@ void __wrap_finished_web_request_statistics(
char *__wrap_config_get(struct config *root, const char *section, const char *name, const char *default_value)
{
- if (!strcmp(section, CONFIG_SECTION_WEB) && !strcmp(name, "web files owner"))
- return "netdata";
(void)root;
+ (void)section;
+ (void)name;
(void)default_value;
return "UNKNOWN FIX ME";
}