From 77ac7ca3f0595e57c35207b9b2061c3e6ade5109 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Tue, 16 Oct 2018 16:21:49 +0100 Subject: [PATCH] Bug 21580 Add test for message buyer_ean method Signed-off-by: Brendan Gallagher --- t/Edifact.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/Edifact.t b/t/Edifact.t index cc205393ae..6dedeac3a2 100755 --- a/t/Edifact.t +++ b/t/Edifact.t @@ -3,7 +3,7 @@ use strict; use warnings; use FindBin qw( $Bin ); -use Test::More tests => 34; +use Test::More tests => 35; BEGIN { use_ok('Koha::Edifact') } @@ -40,6 +40,7 @@ is( $m->message_reference_number, 'MQ09791', "Message reference number returned" ); is( $m->docmsg_number, 'Q741588', "Message docmsg number returned" ); is( $m->message_date, '20140430', "Message date returned" ); +is( $m->buyer_ean, '5030670137480', 'buyer ean returned'); my $lin = $m->lineitems(); -- 2.11.0