[koha-commits] main Koha release repository branch master updated. v3.20.00-1151-gf25fe6d
Git repo owner
gitmaster at git.koha-community.org
Sun Nov 8 17:09:18 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, master has been updated
via f25fe6ddb4a340f12613784dc841ab5bfd672d6b (commit)
from 7ce858491b86b6fe4f85c0cb5e50f66288c474b0 (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 f25fe6ddb4a340f12613784dc841ab5bfd672d6b
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>
-----------------------------------------------------------------------
Summary of changes:
C4/Members.pm | 11 ++++-------
t/Circulation_barcodedecode.t | 33 ++++++++++++---------------------
2 files changed, 16 insertions(+), 28 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list