parser schema CHANGE always return non-const modules
Refs #1645
diff --git a/tests/utests/schema/test_printer_yang.c b/tests/utests/schema/test_printer_yang.c
index 3a2cabd..293404c 100644
--- a/tests/utests/schema/test_printer_yang.c
+++ b/tests/utests/schema/test_printer_yang.c
@@ -23,7 +23,7 @@
static void
test_module(void **state)
{
- const struct lys_module *mod;
+ struct lys_module *mod;
const char *orig = "module a {\n"
" yang-version 1.1;\n"
" namespace \"urn:test:a\";\n"
@@ -161,7 +161,7 @@
static void
test_submodule(void **state)
{
- const struct lys_module *mod;
+ struct lys_module *mod;
const char *mod_yang = "module a {\n"
" yang-version 1.1;\n"
" namespace \"urn:test:a\";\n"