[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:11:03 CET 2016


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

Lari Taskula <lari.taskula at jns.fi> changed:

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

--- Comment #4 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 57435
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57435&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

Signed-off-by: Lari Taskula <lari.taskula at jns.fi>
Fixed a typo: seed -> seen

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


More information about the Koha-bugs mailing list