Bug 23916: (follow-up) Fix unit test
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Fri, 23 Oct 2020 10:55:44 +0000 (11:55 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 10 Nov 2020 14:00:14 +0000 (15:00 +0100)
commit27d64e1720f79d95013de80278fcd71fbf765c04
tree18e1a9f0ad5198362eb67fff297792dc1692f3b3
parent4defe532df94d515c850423c2f9b0a18c9dfdbae
Bug 23916: (follow-up) Fix unit test

This commit responds to the comment made by Katrin in comment #73. I
have removed the lines cited as causing the contraint violation. The
were added in the original iteration of the bug patches and, despite
spending time trying to get to the bottom of it, I cannot figure out
why. There are no changes in the patchset relating to Koha/Patron.pm and
removing the lines does not cause any of the tests in files that *are*
affected by this patchset to fail. I do not know why these lines were
ever added in the first place, unfortunately I did not add comments
explaining (lesson learned)!

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Patrons.t