Bug 17314: Make TestBuilder set good defaults for Suggestions

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Tomás Cohen Arazi 2021-04-23 14:41:08 -03:00 committed by Jonathan Druart
parent 16e988301c
commit 370a79648d

View file

@ -595,6 +595,10 @@ sub _gen_default_values {
BorrowerAttributeType => {
mandatory => 0,
},
Suggestion => {
suggesteddate => dt_from_string()->ymd,
STATUS => 'ASKED'
},
};
}