Bug 22781: Add tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 2 May 2019 00:28:55 +0000 (20:28 -0400)
committerLiz Rea <liz@bywatersolutions.com>
Tue, 18 Jun 2019 15:15:01 +0000 (15:15 +0000)
commit7b4c6e218952a15d2b6bc15f1027205001d17b27
tree8f92f722f1d029f745d51bceaf848479f8ecf680
parentf3e12af72efa049a6d216b886f674785a49d517b
Bug 22781: Add tests

Test plan:
Apply only this patch
=> The tests will fail, the library's name is not correctly escaped.

Note:
This applies for the whole patchset, when the tests fail you will need
to remove the patrons added by the tests with the following SQL query:
  delete from borrowers where surname like "test_patron_%";
We are expecting END to be called even if something goes wrong, but
DESTROY must be used instead. This will be fixed separately, on its own
bug report.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 6e8ecb8c6c8cf5d5188d2ad138e4fdbd8f395b3e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Liz Rea <liz@bywatersolutions.com>
t/db_dependent/selenium/patrons_search.t [new file with mode: 0644]