[Koha-devel] Current state of unit testing
dcook at prosentient.com.au
dcook at prosentient.com.au
Thu Aug 6 14:18:26 CEST 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200806/fe1287a3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200806/fe1287a3/attachment.sig>
More information about the Koha-devel
mailing list