From 46e4d63f9b928e82be2d78bd3d43c0e65cfe8c51 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 --- 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 19f86978567..8be2f97224a 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.34.1