From d0f2c0e8979d230cce196c7a396960a8426208d0 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 2 Apr 2024 19:19:00 +0200 Subject: [PATCH] Fix serializeNoPercentEncodingTest() We do not specify the correct key here. Fix this mistake, as the test will start failing once we do proper encoding. JIRA: NETCONF-1264 Change-Id: I8c8eafcd221535a4d1e011bcb2f0096cad4f3409 Signed-off-by: Robert Varga --- .../utils/parser/YangInstanceIdentifierSerializerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierSerializerTest.java b/restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierSerializerTest.java index 807b52c06c..2b51eb68f6 100644 --- a/restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierSerializerTest.java +++ b/restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierSerializerTest.java @@ -236,7 +236,7 @@ class YangInstanceIdentifierSerializerTest { YangInstanceIdentifier.builder() .node(QName.create("serializer:test", "2016-06-06", "list-one-key")) .nodeWithKey(QName.create("serializer:test", "2016-06-06", "list-one-key"), - QName.create("serializer:test", "2016-06-06", "list-one-key"), "foo\"b\"bar") + QName.create("serializer:test", "2016-06-06", "name"), "foo\"b\"bar") .build())); } -- 2.36.6