]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 31 Jan 2024 13:10:42 +0000 (14:10 +0100)
commita1da7ef8f84db98b57fc443e6ea0603f1b014a72
tree11777807a56167359ee2dd00c9602db55141fb4f
parentb545b9424cec60d58924f11fc11965560c1334a9
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>
t/db_dependent/check_sysprefs.t