@@ -, +, @@ --- t/EdiInvoice.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/t/EdiInvoice.t +++ a/t/EdiInvoice.t @@ -3,7 +3,7 @@ use strict; use warnings; use FindBin qw( $Bin ); -use Test::More tests => 19; +use Test::More tests => 20; BEGIN { use_ok('Koha::Edifact') } @@ -73,3 +73,7 @@ is( $lineprice, 4.55, 'correct net line price returned' ); my $tax = $lines->[7]->tax; is( $tax, 0, 'correct tax amount returned' ); + +my $tax_rate = $lines->[7]->tax_rate; + +is( $tax_rate->{rate}, 0.0, 'correct tax rate returned' ); --