Merge "Fix: removed tabs from yang files."
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / java / org / opendaylight / controller / sal / restconf / impl / test / YangAndXmlAndDataSchemaLoader.java
index dd3f367f49d867b1bc77757a1586c15d5d8c174a..3d24c6ba67ec1fc3a18ea1e290988f1e52fc8289 100644 (file)
@@ -21,7 +21,7 @@ public abstract class YangAndXmlAndDataSchemaLoader {
     }
 
     protected static void dataLoad(String yangPath, int modulesNumber, String moduleName, String dataSchemaName) {
-        modules = TestUtils.resolveModulesFrom(yangPath);
+        modules = TestUtils.loadModulesFrom(yangPath);
         assertEquals(modulesNumber, modules.size());
         Module module = TestUtils.resolveModule(moduleName, modules);
         searchedModuleName = module == null ? "" : module.getName();