From aa1bc7cf4a9b276e28f8c85b6cffb9901565373b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 18 Jan 2022 16:01:00 +0100 Subject: [PATCH] [21.05.x] Bug 29495: Fix TestBuilder.t Value not allowed for auto_incr issue_id in Issue at /kohadevbox/koha/t/lib/TestBuilder.pm line 387. Signed-off-by: Martin Renvoize --- t/lib/TestBuilder.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index e0b058eec7..3464dbea54 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -600,6 +600,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.32.0