From d4ec803659129b830b494229c1bf04bfc1cdf35e 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 --- 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 17ab523b7a9..68518175349 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.2