From 5fb255485fd2d1c62d896d0c8264c87946557ef1 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Wed, 7 Feb 2018 14:02:51 +0100 Subject: [PATCH] unit test fixed (model doesnt allow reaction with duplicated ids) --- .../lcsb/mapviewer/converter/ComplexZipConverterTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/converter/src/test/java/lcsb/mapviewer/converter/ComplexZipConverterTest.java b/converter/src/test/java/lcsb/mapviewer/converter/ComplexZipConverterTest.java index 8ac95951d9..6d8f7acb69 100644 --- a/converter/src/test/java/lcsb/mapviewer/converter/ComplexZipConverterTest.java +++ b/converter/src/test/java/lcsb/mapviewer/converter/ComplexZipConverterTest.java @@ -92,17 +92,17 @@ public class ComplexZipConverterTest { ca4.setName("s3"); result.addElement(ca4); - Reaction r1 = new TransportReaction(); + Reaction r1 = new TransportReaction("re1"); r1.addReactant(new Reactant(sa5)); r1.addProduct(new Product(sa7)); result.addReaction(r1); - Reaction r2 = new TransportReaction(); + Reaction r2 = new TransportReaction("re2"); r2.addReactant(new Reactant(sa6)); r2.addProduct(new Product(ca3)); result.addReaction(r2); - Reaction r3 = new TransportReaction(); + Reaction r3 = new TransportReaction("re3"); r3.addReactant(new Reactant(sa7)); r3.addProduct(new Product(ca4)); result.addReaction(r3); -- GitLab