From 34ff421c1c7ee82dd6454138008398f7382eac57 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 22 May 2024 11:23:07 +0200 Subject: [PATCH] Bug 36919: Remove yet another warning from Koha/Object.t DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'currency' on Currency - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()? Treating 'currency' implicitly as an autoinc, and attempting value retrieval at /kohadevbox/koha/Koha/Object.pm line 172 Signed-off-by: David Nind Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer --- t/db_dependent/Koha/Object.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/db_dependent/Koha/Object.t b/t/db_dependent/Koha/Object.t index 17ab523b7a..6851817534 100755 --- a/t/db_dependent/Koha/Object.t +++ b/t/db_dependent/Koha/Object.t @@ -1008,6 +1008,7 @@ subtest 'store() tests' => sub { my $currency = eval { Koha::Acquisition::Currency->new( { + currency => 'Cur_test', active => 'IT4test', } )->store; -- 2.39.5