Koha-clms/t/db_dependent/api/v1
Tomas Cohen Arazi 0734017ab6 Bug 25623: Make sure oauth.t rolls back the db
This patch adds a missing transaction wrapping one of the subtests. This
is probably an oversight when refactoring this file.

To test:
1. Open the patron categories page
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/oauth.t
=> SUCCESS: Tests pass
3. Reload the patron categories page
=> FAIL: There's random data in there
4. Apply this patch and repeat 2
5. Reload the patron categories page
=> SUCCESS: The random data from the previous tests is still there, but
no new random data
=> SUCCESS: Tests still pass
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f898cef4f4)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-06-17 22:55:22 +00:00
..
acquisitions_funds.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
acquisitions_orders.t Bug 25638: Make the tests pass - ignoring the actual issue 2020-06-16 21:48:51 +00:00
acquisitions_vendors.t Bug 25048: Regression tests 2020-04-29 16:24:37 +01:00
advanced_editor_macros.t Bug 25502: Adapt Advanced macros routes to current guidelines 2020-05-19 15:21:16 +01:00
auth.t Bug 25327: Regression tests 2020-05-11 10:02:29 +01:00
auth_authenticate_api_request.t Bug 24003: Regression tests 2020-06-17 21:32:15 +00:00
auth_basic.t Bug 24003: Regression tests 2020-06-17 21:32:15 +00:00
biblios.t Bug 24908: Unit tests 2020-04-29 17:13:30 +01:00
checkouts.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
cities.t Bug 25048: Regression tests 2020-04-29 16:24:37 +01:00
clubs_holds.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
holds.t Bug 25048: Regression tests 2020-04-29 16:24:37 +01:00
illrequests.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
items.t Bug 24229: Avoid fetching ALL items in test 2020-05-22 09:33:18 +01:00
libraries.t Bug 22001: Make the DBD error regex less strict 2020-03-31 17:46:21 +01:00
oauth.t Bug 25623: Make sure oauth.t rolls back the db 2020-06-17 22:55:22 +00:00
patrons.t Bug 25048: Regression tests 2020-04-29 16:24:37 +01:00
patrons_accounts.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
patrons_password.t Bug 22522: Fix several REST API tests 2020-02-25 13:44:22 +00:00
return_claims.t Bug 22001: Make the DBD error regex less strict 2020-03-31 17:46:21 +01:00
stockrotationstage.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00