Fix broken tests according to yangtools changes
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / java / org / opendaylight / mdsal / binding / generator / impl / Bug4145Test.java
index c5ea0f50733d5ca6235d860412b655ed5580c6e0..1d104f819ac0326b6785b8595599506a82fb14c5 100644 (file)
@@ -28,7 +28,7 @@ public class Bug4145Test {
         File resourceFile = new File(getClass().getResource(
                 "/bug-4145/foo.yang").toURI());
 
-        SchemaContext context = YangParserTestUtils.parseYangSources(resourceFile);
+        SchemaContext context = YangParserTestUtils.parseYangFiles(resourceFile);
 
         List<Type> generateTypes = new BindingGeneratorImpl(false)
                 .generateTypes(context);