]> git.koha-community.org Git - koha.git/commit
Bug 26157: Hide expected DBI warnings from tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 6 Aug 2020 11:11:50 +0000 (13:11 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 24 Aug 2020 09:19:03 +0000 (11:19 +0200)
commit82776d5a1202dec0a1eb13a93dceb9f01d79df7e
tree095888605b54f7e8a6658cce4b862d43c9d381b0
parent0c79b7d93b96434ddf91c6ddabb1570836736a15
Bug 26157: Hide expected DBI warnings from tests

We must redirect them to /dev/null if we know they will appear.

Test plan:
prove the different test files and confirm that the output is clean when
this patch is applied

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Account.t
t/db_dependent/Koha/ApiKeys.t
t/db_dependent/Koha/Object.t
t/db_dependent/Koha/Patrons.t
t/db_dependent/Koha/Suggestions.t