]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 5 Feb 2020 12:37:15 +0000 (12:37 +0000)
commitd88dfbf34e68849e0deed5543817decf6dfb19cb
treea0c6a1ae37a187899e53d4145344ebf3e629854a
parent9eaa4d9775fa64549ec9657f333914d671129acf
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>
t/db_dependent/Koha/Object.t