]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 8 Nov 2019 09:31:47 +0000 (09:31 +0000)
commit6f464191ffcca26d65c158c37f21216cee8aa227
tree09d2c242d00f1b6cc2b8ef9c433d6d142d84e1b2
parent1a8de78c20ef05d7b11c5d97724643bc98c4354e
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>
t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t