Bug 26462: Don't delete existing data for tests
authorNick Clemens <nick@bywatersolutions.com>
Tue, 15 Sep 2020 10:11:33 +0000 (10:11 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Sep 2020 14:15:34 +0000 (16:15 +0200)
commita2652135f74c6929bedb2452c41b50dc03b7954c
treece20528a83b1925a14f2fa3e1d7f68f4519b1d39
parent3d37f6f08c5e649ec037ba8bba0fa5adcc814b9e
Bug 26462: Don't delete existing data for tests

These tests generate their own items, patrons, and circ rules. Existing
system data will not affect the results of the tests. We do not need
to delete information.

You may be able to notice the difference in speed of tests depending on your system. It should
be faster after applying

To test:
1 - Before applying patch:
    prove -v t/db_dependent/Holds.t
2 - It passes
3 - Apply patch
4 - prove -v t/db_dependent/Holds.t
5 - It passes

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Holds.t