[Koha-bugs] [Bug 17607] Fix patron definition in Swagger

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 10 18:00:43 CET 2016


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

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

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

--- Comment #2 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 57432
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57432&action=edit
[SIGNED-OFF]Bug 17607: Fix patron definition in Swagger

This patch makes the patron swagger definition match the DB schema.
To test:
- Run:
  $ prove t/db_dependent/api/v1/swagger/definitions.t
=> FAIL: 'lastseen' field is not declared in the swagger definition
- Apply the patch
- Run:
  $ prove t/db_dependent/api/v1/swagger/definitions.t
=> SUCCESS: Tests pass!
- Sigh off :-D

Sponsored-by: ByWater Solutions
Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
All tests pass successfuly

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


More information about the Koha-bugs mailing list