Bug 24507: Make Checkouts/ReturnClaim.t pass on MySQL 8
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 24 Jan 2020 10:13:53 +0000 (11:13 +0100)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 10 Feb 2020 22:28:26 +0000 (22:28 +0000)
commit551a96a5265acc5a1082462ebd2bc1d814c703b4
tree3b6c724b40e381eabfe4939313e750f76f28cc26
parent7222662bf51cf57f2cf4bfa016935f56d70aff41
Bug 24507: Make Checkouts/ReturnClaim.t pass on MySQL 8

 $ prove t/db_dependent/Koha/Checkouts/ReturnClaim.t
 t/db_dependent/Koha/Checkouts/ReturnClaim.t ..
     #   Failed test 'Exception field is correct'
     #   at t/db_dependent/Koha/Checkouts/ReturnClaim.t line 97.
     #          got: 'return_claims.issue_id'
     #     expected: 'issue_id'
     # Looks like you failed 1 test of 8.
 t/db_dependent/Koha/Checkouts/ReturnClaim.t .. 1/1
 #   Failed test 'store() tests'
 #   at t/db_dependent/Koha/Checkouts/ReturnClaim.t line 133.

This is similar to bug 23825.

Test plan:
Confirm that the tests pass on MySQL8 and MariaDB

Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
t/db_dependent/Koha/Checkouts/ReturnClaim.t