]> git.koha-community.org Git - koha.git/commit
Bug 23994: Fix random failure from AdditionalFields.t (U18)
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 8 Nov 2019 09:28:01 +0000 (10:28 +0100)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Mon, 8 Jun 2020 14:40:08 +0000 (16:40 +0200)
commit5ed94d4c8f495372c224dd8222d07053cefbecf0
tree20711c289f509ac5be7cccd3e852a15f9d8ae4d1
parent3bbc5ca0ecb7d6f86bd4b59827d7f8e098d2bcea
Bug 23994: Fix random failure from AdditionalFields.t (U18)

t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t .. 1/12
 #   Failed test '->additional_field_values should return the correct values'
 #   at t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t line 82.
 #     Structures begin differing at:
 #          $got->[0]{value} = 'bar value for basket2'
 #     $expected->[0]{value} = 'foo value for basket2'
 # Looks like you failed 1 test of 12.

We do not really know why, but the values are not returned in the order they
are stored in DB. Fixing this random failure for now at test level.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 6f464191ffcca26d65c158c37f21216cee8aa227)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t