Bug 18976: (follow-up) Fix t/db_dependent/Search/History.t cleanup
authorLari Taskula <lari.taskula@jns.fi>
Mon, 24 Jul 2017 15:16:25 +0000 (18:16 +0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Wed, 16 Aug 2017 21:50:42 +0000 (23:50 +0200)
commit91b6b514a7cf77f0513ce598751794265342f73e
tree2498dadad96b357afc3520c642713a8150666f30
parent2bf7a97e18ebe9eea113424d66036bb7ec6f3f9a
Bug 18976: (follow-up) Fix t/db_dependent/Search/History.t cleanup

Same problem in t/db_dependent/Search/History.t.

To replicate:
1. Check the row count of borrowers, branches, categories, sessions, sms_providers
   tables
2. prove t/db_dependent/Search/History.t
3. Repeat step 1
4. Observe borrowers the following tables have increased in row count:
   - borrowers
   - branches
   - categories
   - sessions
   - sms_providers

To test:
1. Before applying the patch, go through steps at "To replicate" plan
2. Apply patch
3. Go through steps at "To replicate" plan
4. Observe step 4 no longer applies and those tables have the same number of
   rows as before executing the test.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Search/History.t