Bug 24590: Fix Koha/Object.t on MySQL 8
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Feb 2020 09:36:14 +0000 (10:36 +0100)
committerJoy Nelson <joy@bywatersolutions.com>
Tue, 11 Feb 2020 00:14:51 +0000 (00:14 +0000)
commitd5cd348c27b0c0d18474d11a8b78d1e2468f9a7a
tree17ec6afc01c0c9af5789e3e9c7fb5a831960b2ec
parentb995a6cb31cdc9596b06ba626df301c73941870a
Bug 24590: Fix Koha/Object.t on MySQL 8

% prove t/db_dependent/Koha/Object.t
is failing on MySQL 8 with:

 kohadev-koha@9bbf9ac68519:/kohadevbox/koha$ prove t/db_dependent/Koha/Object.t
 t/db_dependent/Koha/Object.t .. 15/18
     #   Failed test 'Exception field is correct'
     #   at t/db_dependent/Koha/Object.t line 650.
     #          got: 'api_keys.secret'
     #     expected: 'secret'
     # Looks like you failed 1 test of 16.
 t/db_dependent/Koha/Object.t .. 16/18
 #   Failed test 'store() tests'
 #   at t/db_dependent/Koha/Object.t line 723.

MySQL 8 displays the tablename in the error.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
t/db_dependent/Koha/Object.t