From 179fb6f6af16912ea522d492b2b8cfefe4f1a6bf 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 (cherry picked from commit 0e369364a3256d5e1c2e207544607efe553fbd37) Signed-off-by: Victor Grousset/tuxayo --- t/lib/TestBuilder.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index ee375425af..1036e5381f 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -596,6 +596,10 @@ sub _gen_default_values { BorrowerAttributeType => { mandatory => 0, }, + 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