]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 24 Jan 2020 15:20:18 +0000 (15:20 +0000)
commit0c404e0529ace3ac2eee218c1d0451ace8cea857
tree33de6a8bab87997dc35178f39ff3082e19393075
parentdc419ab2a9e7f3c49934272161597d903c24ea95
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>
t/db_dependent/Koha/Checkouts/ReturnClaim.t