]> git.koha-community.org Git - koha.git/commit
Bug 22349: Remove overzealous database deletions from test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 15 Feb 2019 14:40:34 +0000 (14:40 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 27 Feb 2019 14:14:21 +0000 (09:14 -0500)
commitdae703cb792d031562f5c4a75eacd6a86c1f9087
treee95bb99f7d3de0c87f4701322e412f3359f8b89e
parentab1f9af117fa8e2d2ff143126b82b88a43ff6bf8
Bug 22349: Remove overzealous database deletions from test

For no apparent reason a whole lot of data was being deleted inside a
transaction for each of the subtests in Koha/Acquisitions/Booksellers.t

This patch simply remove the deletions. To test, run the test before and
after applying the patch and they should all continue to pass.. If you
have a large number of booksellers, baskets, orders or subscriptions in
your database you may also see an decrease in the time it takes to run
the test.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Koha/Acquisition/Booksellers.t