[koha-commits] main Koha release repository branch master updated. v16.11.00-58-g82d75e1

Git repo owner gitmaster at git.koha-community.org
Fri Dec 16 12:29:27 CET 2016


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  82d75e124e416aef13f11d43837438799bd850dd (commit)
      from  a1592ec10be56569b64774a3dde1e85c53ba36d9 (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 82d75e124e416aef13f11d43837438799bd850dd
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Mon Dec 12 13:48:40 2016 +0100

    Bug 17759: Remove invalid guarantorid's in Members.t
    
    See also bug 17733. As long as we have no FK, these invalid guarantorid's
    can make tests fail.
    Adding a sql statement to clear them in the beginning of the test.
    
    Test plan:
    [1] Since it seems that AUTO_INC+8, +9 and +10 may fail one or two tests,
        we should manipulate one or two borrowers:
        Run this SQL query first:
    SELECT `AUTO_INCREMENT` FROM  INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '[your database]' and table_name='borrowers';
        Now run: UPDATE borrowers SET guarantorid=[former value + 8] WHERE borrowernumber=[some existing borrowernumber]
    [2] Without this patch, run Members.t. Should fail two tests.
    [3] Apply the patch. Fetch the new AUTO_INCREMENT value and update
        guarantorid accordingly again for the manipulated borrower.
    [4] Run the test. It should not fail.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 t/db_dependent/Members.t |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list