Bug 22781: Add tests
commit6e8ecb8c6c8cf5d5188d2ad138e4fdbd8f395b3e
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 2 May 2019 00:28:55 +0000 (1 20:28 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 15 May 2019 12:10:53 +0000 (15 12:10 +0000)
tree4fb3b235702aeccc99b18367e2e130850087b2d4
parent43047ee734e2b6b650e43710a712390433cbb2bd
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>
t/db_dependent/selenium/patrons_search.t [new file with mode: 0644]