From 30cbbf43b7353895276c69ac95ed0956923aea34 Mon Sep 17 00:00:00 2001 From: Bart de Koning Date: Wed, 8 May 2024 09:11:51 +0200 Subject: [PATCH] Fix tests --- core/test/validation_test.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/test/validation_test.jl b/core/test/validation_test.jl index 638721261..2f181e5fc 100644 --- a/core/test/validation_test.jl +++ b/core/test/validation_test.jl @@ -86,7 +86,7 @@ end graph[NodeID(:Pump, 6)] = NodeMetadata(:pump, 9) function set_edge_metadata!(id_1, id_2, edge_type) - graph[id_1, id_2] = EdgeMetadata(0, 0, edge_type, 0, (id_1, id_2)) + graph[id_1, id_2] = EdgeMetadata(0, 0, edge_type, 0, (id_1, id_2), (0, 0)) return nothing end @@ -163,7 +163,7 @@ end graph[NodeID(:Basin, 7)] = NodeMetadata(:basin, 0) function set_edge_metadata!(id_1, id_2, edge_type) - graph[id_1, id_2] = EdgeMetadata(0, 0, edge_type, 0, (id_1, id_2)) + graph[id_1, id_2] = EdgeMetadata(0, 0, edge_type, 0, (id_1, id_2), (0, 0)) return nothing end