From 6c5179fc45c7e942e0c248587f381ebb6dc59e86 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 23 Oct 2017 12:05:04 -0300 Subject: [PATCH] Bug 12768: Fix tests - itemtypes.rentalcharge is now decimal(28,6) --- t/db_dependent/Koha/ItemTypes.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/ItemTypes.t b/t/db_dependent/Koha/ItemTypes.t index ac239b3..eb08c65 100755 --- a/t/db_dependent/Koha/ItemTypes.t +++ b/t/db_dependent/Koha/ItemTypes.t @@ -102,7 +102,7 @@ my $type = Koha::ItemTypes->find('type1'); ok( defined($type), 'first result' ); is( $type->itemtype, 'type1', 'itemtype/code' ); is( $type->description, 'description', 'description' ); -is( $type->rentalcharge, '0.0000', 'rentalcharge' ); +is( $type->rentalcharge, '0.000000', 'rentalcharge' ); is( $type->imageurl, 'imageurl', 'imageurl' ); is( $type->summary, 'summary', 'summary' ); is( $type->checkinmsg, 'checkinmsg', 'checkinmsg' ); @@ -112,7 +112,7 @@ $type = Koha::ItemTypes->find('type2'); ok( defined($type), 'second result' ); is( $type->itemtype, 'type2', 'itemtype/code' ); is( $type->description, 'description', 'description' ); -is( $type->rentalcharge, '0.0000', 'rentalcharge' ); +is( $type->rentalcharge, '0.000000', 'rentalcharge' ); is( $type->imageurl, 'imageurl', 'imageurl' ); is( $type->summary, 'summary', 'summary' ); is( $type->checkinmsg, 'checkinmsg', 'checkinmsg' ); -- 2.1.4