@@ -, +, @@ --- t/db_dependent/Koha/Object.t | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) --- a/t/db_dependent/Koha/Object.t +++ a/t/db_dependent/Koha/Object.t @@ -1001,9 +1001,17 @@ subtest 'store() tests' => sub { }; is( $@, '', 'No error should be raised by ->store if empty strings are passed' ); is( $itemtype->rentalcharge, undef, 'decimal DEFAULT NULL should default to null'); - is( $itemtype->notforloan, undef, 'int DEFAULT NULL should default to null'); is( $itemtype->hideinopac, 0, 'int NOT NULL DEFAULT 0 should default to 0'); + my $currency = eval { + Koha::Acquisition::Currency->new( + { + active => 'IT4test', + } + )->store; + }; + is( $currency->active, undef, 'int DEFAULT NULL should default to null'); + subtest 'Bad value tests' => sub { plan tests => 3; --