Migrate netconf users of submit() to commit()
[netconf.git] / netconf / sal-netconf-connector / src / test / java / org / opendaylight / netconf / sal / connect / netconf / sal / tx / WriteRunningTxTest.java
index 30f75b11aca593a55a8d230915c0594d887b9811..bb962d234af7dd80c5c03be8fccdb601eff06427 100644 (file)
@@ -58,7 +58,7 @@ public class WriteRunningTxTest {
         //check, if no edit-config is called before submit
         verify(rpc, never())
                 .invokeRpc(eq(SchemaPath.create(true, NetconfMessageTransformUtil.NETCONF_EDIT_CONFIG_QNAME)), any());
-        tx.submit().get();
+        tx.commit().get();
         //check, if both edits are called
         verify(rpc, times(2))
                 .invokeRpc(eq(SchemaPath.create(true, NetconfMessageTransformUtil.NETCONF_EDIT_CONFIG_QNAME)), any());