From 16ddfd5f27a18b21461181ad45bfb335786ff5a6 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 28 Mar 2023 10:37:21 +0200 Subject: [PATCH] Fix yang-library test root element The 'modules' element is invalid, it should always be 'modules-state', just as we have them in JSON. Fix the XML files. Change-Id: Idd2955836f57528fbcf6863d20f6a1c0359a498f Signed-off-by: Robert Varga --- .../src/test/resources/yang-library-fail.xml | 4 ++-- .../sal-netconf-connector/src/test/resources/yang-library.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/sal-netconf-connector/src/test/resources/yang-library-fail.xml b/plugins/sal-netconf-connector/src/test/resources/yang-library-fail.xml index f56c89c617..e3778b618f 100644 --- a/plugins/sal-netconf-connector/src/test/resources/yang-library-fail.xml +++ b/plugins/sal-netconf-connector/src/test/resources/yang-library-fail.xml @@ -1,4 +1,4 @@ - + module-with-bad-url @@ -20,4 +20,4 @@ http://www.example.com bbbds - \ No newline at end of file + diff --git a/plugins/sal-netconf-connector/src/test/resources/yang-library.xml b/plugins/sal-netconf-connector/src/test/resources/yang-library.xml index a7c9544a54..5f7491180e 100644 --- a/plugins/sal-netconf-connector/src/test/resources/yang-library.xml +++ b/plugins/sal-netconf-connector/src/test/resources/yang-library.xml @@ -1,5 +1,5 @@ - + module-with-revision 2014-04-08 @@ -32,4 +32,4 @@ http://localhost:8181/yanglib/schemas/module-with-revision/2014-04-08 - + -- 2.36.6