]> git.koha-community.org Git - koha.git/commit
Bug 35659: (QA follow-up) Fix t/db_dependent/Koha/OAIHarvester.t
authorDavid Cook <dcook@prosentient.com.au>
Tue, 29 Oct 2024 00:43:32 +0000 (00:43 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 29 Oct 2024 07:46:54 +0000 (08:46 +0100)
commite7ae98af67580fd4a8ef8725e8ef3ed50748a1ef
tree4c41b449b2f8c2246d0bdff7232056f3df007dfc
parent624e8f1bb89084f1c9be129bbe72710d38b70bd5
Bug 35659: (QA follow-up) Fix t/db_dependent/Koha/OAIHarvester.t

Previously, this test just checked the last 1 day of bib activity,
but on a fresh test system there will be no activity, so it will always
fail.

Instead, let's just check that a number is returned for the total,
even if that total number is 0, since 0 is a valid response too.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
t/db_dependent/Koha/OAIHarvester.t