Remove deprecated Yin/YangStatementSourceImpl
[yangtools.git] / yang / yang-data-codec-xml / src / test / java / org / opendaylight / yangtools / yang / data / codec / xml / Bug8803Test.java
index d708e176d371e90d156e4fca945f92200b6436b6..c0a9f657cfd4fb192d1cadf409ccea9a2d89f02f 100644 (file)
@@ -35,7 +35,7 @@ public class Bug8803Test {
 
     @Test
     public void test() throws Exception {
-        final SchemaContext schemaContext = YangParserTestUtils.parseYangSources("/bug8803");
+        final SchemaContext schemaContext = YangParserTestUtils.parseYangResourceDirectory("/bug8803");
         final SchemaPath topContPath = SchemaPath.create(true, QName.create("foo-ns", "1970-01-01", "top-cont"));
         final SchemaNode dataSchemaNode = SchemaContextUtil.findDataSchemaNode(schemaContext, topContPath);
         assertTrue(dataSchemaNode instanceof ContainerSchemaNode);