[koha-commits] main Koha release repository branch 3.20.x updated. v3.20.05-23-gbc668dc
Git repo owner
gitmaster at git.koha-community.org
Sun Nov 29 21:34:44 CET 2015
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, 3.20.x has been updated
via bc668dccd3af3fba14e04a764499b0d762c63455 (commit)
from 49d2b2c84dbd85da2a2495ac3b81e450f4e522b4 (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 bc668dccd3af3fba14e04a764499b0d762c63455
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Fri Nov 6 11:21:56 2015 -0300
Bug 15151: Avoid DB access to load C4::Members
In order to avoid loading Koha::NorwegianPatronDB a DB query was
used. Instead, a require should be used. This causes non-db_dependent
tests that load C4::Members to fail.
To test:
- Shut mysql down
$ sudo service mysql stop
- Run the tests:
prove t/Circulation_barcodedecode.t
=> FAIL: DB connection is expected, tests fail
- Apply the patch
- Run the tests:
prove t/Circulation_barcodedecode.t
=> SUCCESS: Tests pass
- Sign off .-D
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
cherry-picked from f25fe6ddb4a340f12613784dc841ab5bfd672d6b
Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
-----------------------------------------------------------------------
Summary of changes:
C4/Members.pm | 11 ++++-------
t/Circulation_barcodedecode.t | 34 ++++++++++++----------------------
2 files changed, 16 insertions(+), 29 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list