]> git.koha-community.org Git - koha.git/commit
Bug 24786: (QA follow-up) Ensure tests pass with existing data
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 6 Nov 2020 14:42:42 +0000 (14:42 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Nov 2020 14:55:17 +0000 (15:55 +0100)
commit89b0a0563ca77f82e2915390b55d9f94fed71e68
tree2015b6dec753bcbea238ba8e5be36a539aa6f9ff
parent47731f187f32d889ea45a2c2d567d67189d4753a
Bug 24786: (QA follow-up) Ensure tests pass with existing data

The tests for Koha::Template::Plugin::Registers assumed that no
registers were pre-set in the database. This patch updates the test to
ignore pre-existing data or take it into account in totals.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Template/Plugin/Registers.t