From 39ee7666a9de8941f8cfd8dcaca93e04ae3afb55 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: Fridolin Somers Signed-off-by: Kyle M Hall --- t/lib/TestBuilder.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index aad67040b4..87b97c927e 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.39.5