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 <martin.renvoize@ptfs-europe.com>

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 0e369364a3)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
Jonathan Druart 2022-01-18 16:01:00 +01:00 committed by Victor Grousset/tuxayo
parent e2db9ab01e
commit 179fb6f6af
1 changed files with 4 additions and 0 deletions

View File

@ -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
},
};
}