Fix serializeLeafListTest() 05/111205/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 2 Apr 2024 15:43:56 +0000 (17:43 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 2 Apr 2024 15:45:54 +0000 (17:45 +0200)
commitc727d1dd4e0645c83adaafafed65acd038f45b86
tree49cbbd70ecb96352ca67c5115dc839143d8b55a6
parent0ba3c7c935789a7602e0987a01c83e8b551f2ec6
Fix serializeLeafListTest()

leaf-list-0 has 'type boolean' and hence 'instance' is not a valid
value. This test demonstrates that YangInstanceIdentifier is not
validating values, letting garbage in.

This test will start failing once we process values correctly, hence fix
it up ahead of time.

JIRA: NETCONF-1264
Change-Id: I23c7e21eb4e0ca3474debe7faafd7a22aa7f5103
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierSerializerTest.java