Adjust to yangtools-2.0.0/odlparent-3.0.0 changes
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / java / org / opendaylight / restconf / nb / rfc8040 / rests / services / impl / RestconfStreamsSubscriptionServiceImplTest.java
index 9f40febe48e70f709be65011f5d2bce8157ce948..24d9d8b9ee21f683ffd44ce6caa72188ac18fd54 100644 (file)
@@ -109,7 +109,7 @@ public class RestconfStreamsSubscriptionServiceImplTest {
         Mockito.when(uriInfo.getBaseUri()).thenReturn(baseUriBuilder.build());
         Mockito.when(uriInfo.getBaseUriBuilder()).thenReturn(baseUriBuilder);
         this.schemaHandler.onGlobalContextUpdated(
-                YangParserTestUtils.parseYangSources(TestRestconfUtils.loadFiles("/notifications")));
+                YangParserTestUtils.parseYangFiles(TestRestconfUtils.loadFiles("/notifications")));
     }
 
     private static class LocalUriInfo extends SimpleUriInfo {