Bug 21671: Prevent Modifications.t to fail randomly
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Nov 2018 18:20:33 +0000 (15:20 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 7 May 2019 10:58:54 +0000 (10:58 +0000)
commit914f23970de536df3972ebd75b280ee8eec98955
tree8950c543709160f3e1ab491d269d391a3884df9e
parent45b1ff8dfa1054590544caff200b307144bd02cf
Bug 21671: Prevent Modifications.t to fail randomly

If repeatable is set to 0 by TestBuilder, the tests will fail with:
t/db_dependent/Koha/Patron/Modifications.t .. 1/6     # Looks like you planned 20 tests but ran 9.

 #   Failed test 'approve tests'
 #   at t/db_dependent/Koha/Patron/Modifications.t line 259.
[repeatable not set for attribute type and tried to add a new attribute for the same code]# Looks like your test exited with 255 just after 5.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Koha/Patron/Modifications.t