From 0e369364a3256d5e1c2e207544607efe553fbd37 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. Signed-off-by: Martin Renvoize Signed-off-by: Andrew Fuerste-Henry --- 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.39.5