Browse Source

Bug 21580: Add test for message buyer_ean method

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
remotes/origin/19.11.x
Colin Campbell 3 years ago
committed by Martin Renvoize
parent
commit
870f25fbd9
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 3
      t/Edifact.t

3
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();

Loading…
Cancel
Save