[koha-commits] main Koha release repository branch master updated. v16.11.00-897-g2ba4a66
Git repo owner
gitmaster at git.koha-community.org
Fri Apr 21 20:11:19 CEST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 2ba4a661d38c856ff10c9bcf1680f6619bdab2cd (commit)
from d0a37bb8bfdb8f426f83920314179b207be496fd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2ba4a661d38c856ff10c9bcf1680f6619bdab2cd
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Sun Apr 16 18:50:58 2017 +0200
Bug 18448: Fix a few db_dependent tests
Tests in db_dependent may expect a Koha database, but should not rely on
hardcoded categories, currencies, branch codes, etc.
This patch fixes a bunch of those. But this is a continuous project. We also
need QA to closely watch new edits.
Accounts.t: hardcoded category PT replaced
Acquisition/OrderFromSubscription.t: hardcoded USD
Acquisition/StandingOrders.t: same
ArticleRequests.t: create itemtype, branch and category for testing
AuthorisedValues.t: remove $dbh, add two test branches
AuthoritiesMarc.t: add hardcoded GEOGR_NAME authtype
Bookseller.t: add test currency
Koha.t: add test itemtype instead of hardcoded BK
UsageStats.t: add test branch and category
Test plan:
Run the adjusted tests.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
All tests successful (see comment #9)
Signed-off-by: Marc Véron <veron at veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
t/db_dependent/Accounts.t | 4 ++--
t/db_dependent/Acquisition/OrderFromSubscription.t | 7 +++++-
t/db_dependent/Acquisition/StandingOrders.t | 3 ++-
t/db_dependent/ArticleRequests.t | 16 ++++++++-----
t/db_dependent/AuthorisedValues.t | 22 ++++++++++--------
t/db_dependent/AuthoritiesMarc.t | 8 +++++++
t/db_dependent/Bookseller.t | 15 ++++++++----
t/db_dependent/Koha.t | 24 ++++++++++++--------
t/db_dependent/UsageStats.t | 12 ++++++----
9 files changed, 72 insertions(+), 39 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list