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 <david@davidnind.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit34ff421c1c) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit386a823a84) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
59bb09fc2d
commit
8a49336150
|
|
@ -1008,6 +1008,7 @@ subtest 'store() tests' => sub {
|
|||
my $currency = eval {
|
||||
Koha::Acquisition::Currency->new(
|
||||
{
|
||||
currency => 'Cur_test',
|
||||
active => 'IT4test',
|
||||
}
|
||||
)->store;
|
||||
|
|
|
|||
Loading…
Reference in New Issue