Hi all,
I gave Test::DBIx::Class a try tonight, as it seems super awesome, but unfortunately encountered the following error due to C4::Biblio::_koha_add_biblio() using a MySQLism in its SQL:
C4::Biblio::_koha_add_biblio(): DBI Exception: DBD::SQLite::db prepare failed: near "SET": syntax error at /kohadevbox/koha/C4/Biblio.pm line 219
That makes me think my only option is to turn off Autocommit and rollback my testing work.
Does anyone else have a better alternative for unit tests in Koha?
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Online: 02 8005 0595