summaryrefslogtreecommitdiffstats
path: root/web/api/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:11 +0000
commit483926a283e118590da3f9ecfa75a8a4d62143ce (patch)
treecb77052778df9a128a8cd3ff5bf7645322a13bc5 /web/api/tests
parentReleasing debian version 1.31.0-4. (diff)
downloadnetdata-483926a283e118590da3f9ecfa75a8a4d62143ce.tar.xz
netdata-483926a283e118590da3f9ecfa75a8a4d62143ce.zip
Merging upstream version 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>