Fix broken tests according to yangtools changes
[mdsal.git] / binding / mdsal-binding-generator-util / src / test / java / org / opendaylight / mdsal / binding / model / util / BindingGeneratorUtilTest.java
index d37e495ab8b0f091d52e883e490ac2bdc2bf38b4..c5e5583ebebc9745759d554198e7422ac3da85b2 100644 (file)
@@ -83,7 +83,7 @@ public class BindingGeneratorUtilTest {
     public void testBindingGeneratorUtilMethods() throws Exception {
         List<File> testModels = loadTestResources("/module.yang");
 
-        final Set<Module> modules = YangParserTestUtils.parseYangSources(testModels).getModules();
+        final Set<Module> modules = YangParserTestUtils.parseYangFiles(testModels).getModules();
         String packageName = "";
         Module module = null;
         for (Module m : modules) {