19 Jun
2023
19 Jun
'23
2:47 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33973 --- Comment #9 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Pedro Amorim from comment #8)
I was thinking create the test data by POSTing to the REST API beforehand, and DELETE it after the tests have finished running? Is this reasonable?
Yes but it is not always easy to create all the depend data you need. Eg for a patron you need a library and a patron category. Is is possible but we certainly need a lib to help us with dependent objects. Having a direct access to the DB would bring us the usage of TestBuilder. -- You are receiving this mail because: You are watching all bug changes.