Koha-clms/t/db_dependent/api/v1
Tomas Cohen Arazi 525ca46cc7 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>
(cherry picked from commit 0734017ab6)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

(cherry picked from commit 4c536ffbce)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2020-07-03 01:35:39 +02:00
..
acquisitions_funds.t Bug 19661: (follow-up) Use Basic auth in tests 2019-03-22 19:40:37 +00:00
acquisitions_vendors.t Bug 18120: /acquisitions/vendors unit tests 2017-09-29 17:13:13 -03:00
auth.t Bug 22061: Add a /public namespace that can be switched on/off 2019-01-28 15:45:54 +00:00
auth_authenticate_api_request.t Bug 24862: Regression tests 2020-06-30 21:19:07 +02:00
auth_basic.t Bug 22132: (QA follow-up) set_password now expects a hashref 2019-01-30 18:57:18 +00:00
biblios.t Revert "Bug 24232: Regression tests" 2020-01-14 20:53:26 +00:00
checkouts.t Bug 24543: Fix wrong test in api/v1/checkouts.t 2020-02-14 20:39:33 +00:00
cities.t Bug 22227: Make GET /cities staff only 2019-02-15 18:42:46 +00:00
holds.t Bug 24813: Prevent api/v1/holds.t to fail randomly 2020-04-09 20:15:37 +00:00
illrequests.t Bug 18589: (follow-up) Add borrowernumber test 2019-03-22 20:21:49 +00:00
items.t Bug 16825: Add API route for getting an item 2019-09-13 15:03:15 +02:00
libraries.t Bug 16497: Refactor tests using BASIC authentication 2019-02-19 13:52:14 +00:00
oauth.t Bug 25623: Make sure oauth.t rolls back the db 2020-07-03 01:35:39 +02:00
patrons.t Bug 21336: Fix the API 2019-04-18 09:49:57 +00:00
patrons_accounts.t Bug 23607: Make /patrons/:patron_id/account staff only 2019-10-08 09:07:15 +02:00
patrons_password.t Bug 22483: (follow-up) Fix wrong tests higlighted by bug 2019-03-08 15:26:05 -03:00
stockrotationstage.t Bug 11897: Use 'stockrotation' permission for the endpoint 2018-10-09 15:46:06 +00:00