summaryrefslogtreecommitdiffstats
path: root/web/api/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:04 +0000
commite970e0b37b8bd7f246feb3f70c4136418225e434 (patch)
tree0b67c0ca45f56f2f9d9c5c2e725279ecdf52d2eb /web/api/tests
parentAdding upstream version 1.31.0. (diff)
downloadnetdata-e970e0b37b8bd7f246feb3f70c4136418225e434.tar.xz
netdata-e970e0b37b8bd7f246feb3f70c4136418225e434.zip
Adding upstream version 1.32.0.upstream/1.32.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.c10
-rw-r--r--web/api/tests/web_api.c8
2 files changed, 9 insertions, 9 deletions
diff --git a/web/api/tests/valid_urls.c b/web/api/tests/valid_urls.c
index d8c261c51..30ae23247 100644
--- a/web/api/tests/valid_urls.c
+++ b/web/api/tests/valid_urls.c
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: GPL-3.0-or-later
-#include "../../../libnetdata/libnetdata.h"
-#include "../../../libnetdata/required_dummies.h"
-#include "../../../database/rrd.h"
-#include "../../../web/server/web_client.h"
+#include "libnetdata/libnetdata.h"
+#include "libnetdata/required_dummies.h"
+#include "database/rrd.h"
+#include "web/server/web_client.h"
#include <setjmp.h>
#include <cmocka.h>
#include <stdbool.h>
@@ -410,7 +410,7 @@ static void empty_url(void **state)
}
/* If the %-escape is being performed at the correct time then the url should not be treated as a query, but instead
- as a path "/api/v1/info?blah?" which should despatch into the API with the given values.
+ as a path "/api/v1/info?blah?" which should dispatch into the API with the given values.
*/
static void not_a_query(void **state)
{
diff --git a/web/api/tests/web_api.c b/web/api/tests/web_api.c
index 0a741e084..b96213255 100644
--- a/web/api/tests/web_api.c
+++ b/web/api/tests/web_api.c
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: GPL-3.0-or-later
-#include "../../../libnetdata/libnetdata.h"
-#include "../../../libnetdata/required_dummies.h"
-#include "../../../database/rrd.h"
-#include "../../../web/server/web_client.h"
+#include "libnetdata/libnetdata.h"
+#include "libnetdata/required_dummies.h"
+#include "database/rrd.h"
+#include "web/server/web_client.h"
#include <setjmp.h>
#include <cmocka.h>
#include <stdbool.h>