[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.03-57-g6c442331b5

Git repo owner gitmaster at git.koha-community.org
Fri Sep 4 22:43:09 CEST 2020


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, 20.05.x has been updated
       via  6c442331b5bc981ca3be61308a65cbc937bdcb21 (commit)
       via  3fac75b079299a49f90d0b958753f3c2c7e15b1f (commit)
       via  163d80a55d2f4f22954a7194ab3dbdc3a1460d31 (commit)
      from  b5f0fce5f53f731df4d4271785eab8e8a3293364 (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 6c442331b5bc981ca3be61308a65cbc937bdcb21
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Jun 23 10:35:54 2020 -0300

    Bug 25662: (follow-up) Add tests for the wrong patron_id added behaviour
    
    This patch adds trivial tests for the new error (400) raised when the
    passed patron_id doesn't exist.
    
    To test:
    1. Run:
       $ kshell
      k$ prove t/db_dependent/api/v1/holds.t
    => SUCCESS: Tests pass!
    2. Sign off :-D
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit deee485a24df0734cace673dc519f15d41a5b575)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

commit 3fac75b079299a49f90d0b958753f3c2c7e15b1f
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Jun 23 10:33:14 2020 -0300

    Bug 25662: Make the route for holds restpect maxreserves
    
    This patch fixes the behaviour for the POST /holds route. It assumed
    maxreserves was checked in CanItemBeReserved which is not the case.
    
    Tests are added to check for this behaviour.
    
    To test:
    1. Apply the regression tests
    2. Run:
       $ kshell
      k$ prove t/db_dependent/api/v1/holds.t
    => FAIL: Tests fail!
    3. Apply this patch
    4. Repeat 2
    => SUCCESS: Tests pass!
    5. Sign off :-D
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 69bdc94cd4f420094c5706fb2bfc472ba24a5054)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

commit 163d80a55d2f4f22954a7194ab3dbdc3a1460d31
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Tue Jun 23 10:11:58 2020 -0300

    Bug 25662: Regression tests
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 9a63cf6dec55c67491e5a2807fe74f9083167ccc)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 Koha/REST/V1/Holds.pm         |  12 +++++
 t/db_dependent/api/v1/holds.t | 103 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 113 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list