]> git.koha-community.org Git - koha.git/commit
Bug 23049: (QA follow-up) Check constraint test corrections
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 21 Oct 2019 17:37:07 +0000 (18:37 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 24 Oct 2019 16:25:18 +0000 (17:25 +0100)
commit00970925ae848aa13b2a239b1fa3655d8ffb8441
tree3bbe441ad911fbe06cd146563b835ea82441e1d6
parentaec46d0c3c5bf1dd20d155a814056c2702e52f5c
Bug 23049: (QA follow-up) Check constraint test corrections

TestBuilder adds random data which breaks the check constraint rule. The
simplest way to correct this situation is to override testbuilder by
passing in explicit undefs for accounttype or debit_type_code in the
tests.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Accounts.t
t/db_dependent/ILSDI_Services.t
t/db_dependent/Koha/Account/Offsets.t
t/db_dependent/Members.t