Adjust to yangtools-2.0.0/odlparent-3.0.0 changes
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / java / org / opendaylight / controller / sal / rest / impl / InstanceIdentifierTypeLeafTest.java
index 8d8c2aa96efac791bd1eee64e96b9841aa9f28d2..4e0801c2c80558620f4ae32d8ce38a3a6f62ccfe 100644 (file)
@@ -24,7 +24,7 @@ public class InstanceIdentifierTypeLeafTest {
     @Test
     public void stringToInstanceIdentifierTest() throws Exception {
         final SchemaContext schemaContext =
-                YangParserTestUtils.parseYangSources(TestRestconfUtils.loadFiles("/instanceidentifier"));
+                YangParserTestUtils.parseYangFiles(TestRestconfUtils.loadFiles("/instanceidentifier"));
         ControllerContext.getInstance().setGlobalSchema(schemaContext);
         final InstanceIdentifierContext<?> instanceIdentifier =
                 ControllerContext.getInstance().toInstanceIdentifier(