]> git.koha-community.org Git - koha.git/commit
Bug 34979: Add unit test for comparing YAMl files with sysprefs.sql
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 7 Jan 2024 21:54:29 +0000 (21:54 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 9 Feb 2024 20:01:14 +0000 (20:01 +0000)
commit0aa7df0395a5d41a96efb72ddfbd4f51d3305461
tree376d6b81dee56f7fa5b88b382539643ed5d8ff5a
parent0fe1d40ef42c4e8a79b754843c3405e1ba2e7844
Bug 34979: Add unit test for comparing YAMl files with sysprefs.sql

The unit tests will help to detect any discrepancies
and missing entries in the YAML and sysprefs.sql files.

To test:
* Apply only this patch
* prove -v t/db_dependent/check_sysprefs.t
* It will fail.
* Apply other patches
* Run database update
* Re-run test. It should pass now.
* Recreate your database or reset_all with patches applied.
* System preferences should be installed correctly.
* Test should still pass.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 06ba28556254e443d0cc678c0f3d6aabd20f6767)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit a1da7ef8f84db98b57fc443e6ea0603f1b014a72)
t/db_dependent/check_sysprefs.t