[Koha-bugs] [Bug 20612] Make OAuth2 use patron's client_id/secret pairs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 3 21:10:04 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20612

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74550|0                           |1
        is obsolete|                            |

--- Comment #26 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 75034
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75034&action=edit
Bug 20612: Unit tests

This patch makes the oauth.t tests leverage on the new Koha::ApiKey(s)
classes. It adds tests for expired tokens too.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/oauth.t
=> FAIL: Tests should fail without the rest of the patches.

Sponsored-by: ByWater Solutions

Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
Signed-off-by: Benjamin Rokseth <benjamin.rokseth at deichman.no>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list