Revert the default instance number back to zero
[pyi2ncommon] / test / cnfvar / test_store.py
index b5612d3..1b48732 100644 (file)
@@ -143,7 +143,7 @@ class TestStore(unittest.TestCase):
 
         # test adding a reference from another cnfvar
         proxy_profile = store.query().with_name("PROXY_PROFILE").first_with_instance(2)
-        nic_0.add_child(("nic_lan_proxy_profile_ref"), proxy_profile.instance)
+        nic_0.add_child(("nic_lan_proxy_profile_ref"), proxy_profile.instance, -1)
 
         # testing changing the value
         nic_1.children.first(lambda c: c.name == "nic_comment") \