From 87c4a77e2ef1168685275c4ea0d596c2f0166cb3 Mon Sep 17 00:00:00 2001 From: Sebastian Schmittner Date: Tue, 23 Jan 2024 10:36:35 +0100 Subject: [PATCH 1/2] added failing test for same event including GTIN in dl form with/without leading 0 --- .../example_printing_event_dl_with_0.xml | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 tests/expected_equal/example_printing_event_dl_with_0.xml diff --git a/tests/expected_equal/example_printing_event_dl_with_0.xml b/tests/expected_equal/example_printing_event_dl_with_0.xml new file mode 100644 index 0000000..2bcb64c --- /dev/null +++ b/tests/expected_equal/example_printing_event_dl_with_0.xml @@ -0,0 +1,96 @@ + + + + + + + 2019-12-18T14:15:00.000+01:00 + +01:00 + + + https://id.gs1.org/01/04064074123453/10/245 + 9500 + MTR + + + + + urn:epc:class:lgtin:4064074.016392.91a3bx + 10 + + + urn:epcglobal:cbv:bizstep:commissioning + urn:epcglobal:cbv:disp:active + + urn:epc:id:sgln:4064074.86214.3 + + + urn:epc:id:sgln:4064074.86214.0 + + + printing + web + polymer + + + 2019-12-18T14:15:00.000+01:00 + +01:00 + + + https://id.gs1.org/01/4064074123453/10/245 + 9500 + MTR + + + + + urn:epc:class:lgtin:4064074.016392.91a3bx + 10 + + + urn:epcglobal:cbv:bizstep:commissioning + urn:epcglobal:cbv:disp:active + + urn:epc:id:sgln:4064074.86214.3 + + + urn:epc:id:sgln:4064074.86214.0 + + + printing + web + polymer + + + 2019-12-18T14:15:00.000+01:00 + +01:00 + + + urn:epc:class:lgtin:4064074.912345.245 + 9500 + MTR + + + + + urn:epc:class:lgtin:4064074.016392.91a3bx + 10 + + + urn:epcglobal:cbv:bizstep:commissioning + urn:epcglobal:cbv:disp:active + + urn:epc:id:sgln:4064074.86214.3 + + + urn:epc:id:sgln:4064074.86214.0 + + + printing + web + polymer + + + + + From ff63d21b9228599b4e89099a80769e44a88591f3 Mon Sep 17 00:00:00 2001 From: Sebastian Schmittner Date: Wed, 24 Jan 2024 15:00:52 +0100 Subject: [PATCH 2/2] typo in id -> test green -> nothing todo Signed-off-by: Sebastian Schmittner --- tests/expected_equal/example_printing_event_dl_with_0.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/expected_equal/example_printing_event_dl_with_0.xml b/tests/expected_equal/example_printing_event_dl_with_0.xml index 2bcb64c..6fcd1f4 100644 --- a/tests/expected_equal/example_printing_event_dl_with_0.xml +++ b/tests/expected_equal/example_printing_event_dl_with_0.xml @@ -8,7 +8,7 @@ +01:00 - https://id.gs1.org/01/04064074123453/10/245 + https://id.gs1.org/01/94064074123453/10/245 9500 MTR @@ -37,7 +37,7 @@ +01:00 - https://id.gs1.org/01/4064074123453/10/245 + https://id.gs1.org/01/94064074123453/10/245 9500 MTR