summaryrefslogtreecommitdiffstats
path: root/web/api/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-14 18:12:14 +0000
commitbb50acdcb8073654ea667b8c0272e335bd43f844 (patch)
tree1e00c8a29871426f8182658928dcb62e42d57ce8 /web/api/tests
parentReleasing debian version 1.33.1-1. (diff)
downloadnetdata-bb50acdcb8073654ea667b8c0272e335bd43f844.tar.xz
netdata-bb50acdcb8073654ea667b8c0272e335bd43f844.zip
Merging upstream version 1.34.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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";
}