From edfba4b8ff7ef2928e6b5f7a77c23433ba72a73f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 18 Jan 2022 16:01:00 +0100 Subject: [PATCH] Bug 29495: Fix TestBuilder.t Value not allowed for auto_incr issue_id in Issue at /kohadevbox/koha/t/lib/TestBuilder.pm line 387. --- t/lib/TestBuilder.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index aad67040b49..87b97c927e9 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -599,6 +599,10 @@ sub _gen_default_values { suggesteddate => dt_from_string()->ymd, STATUS => 'ASKED' }, + ReturnClaim => { + issue_id => undef, # It should be a FK but we removed it + # We don't want to generate a random value + }, }; } -- 2.25.1