[koha-commits] main Koha release repository branch 3.10.x updated. v3.10.07-40-g5e9db70
Git repo owner
gitmaster at git.koha-community.org
Tue Jul 16 14:10:19 CEST 2013
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.10.x has been updated
via 5e9db705a5466ff508d45a9bbfcabd9744efa53f (commit)
from 2b2457329467e5a30a748903eb60390f1cafd51d (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 5e9db705a5466ff508d45a9bbfcabd9744efa53f
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Mon Jun 3 15:27:50 2013 +0200
Bug 10386: improvements to VirtualShelves.t
Most important: Does no longer delete all shelves!
Checks if there are ten borrowers for testing. But even works without them :)
When creating or modifying lists, takes name clashes into consideration.
Small change to _CheckShelfName in VirtualShelves module. Making it possible to
check a name for a list whose owner has been set to NULL. Note that a test
like field=? with undef for placeholder will not work in MySql.
Test plan:
How do you test a test? Well, you could run it on various databases..
But for real hacking, you could also add some debug lines.
I tested this by forcing 10 undefs in @borrowernumbers.
And by overwriting the return value of randomname with an existing name.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
(cherry picked from commit 93e87ca0b61611fc35238bf13eb226f477cf9c4e)
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
(cherry picked from commit a97b62379f82a94157916959109c7c1a75582d8a)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
(cherry picked from commit a97b62379f82a94157916959109c7c1a75582d8a)
-----------------------------------------------------------------------
Summary of changes:
C4/VirtualShelves.pm | 13 +++-
t/db_dependent/VirtualShelves.t | 168 +++++++++++++++++++++++++--------------
2 files changed, 118 insertions(+), 63 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list