Fix broken tests according to yangtools changes
[mdsal.git] / binding2 / mdsal-binding2-runtime / src / test / java / org / opendaylight / mdsal / binding / javav2 / runtime / context / BindingRuntimeContextTest.java
index 5df2959ebbe7e01629889aa93089a13d1b5b22de..74213576c7cb0cfb4a5db292ab0e2f2988af6cba 100644 (file)
@@ -29,7 +29,7 @@ public class BindingRuntimeContextTest {
 
     @Before
     public void setup() throws URISyntaxException, FileNotFoundException, ReactorException {
-        schemaContext = YangParserTestUtils.parseYangSources(
+        schemaContext = YangParserTestUtils.parseYangFiles(
                  new File(getClass().getResource("/yang/test-runtime.yang").toURI()));
         myCont = (DataNodeContainer) schemaContext.getChildNodes().iterator().next();
         brc = BindingRuntimeContext.create(GeneratedClassLoadingStrategy.getTCCLClassLoadingStrategy(), schemaContext);