Bug 25514: Try to fix random failure from REST/Plugin/Objects.t
commit926ad3c1a69074b2905d9ef03e639db6ba8d6865
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 10 Nov 2020 10:56:31 +0000 (10 11:56 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Nov 2020 09:37:13 +0000 (20 10:37 +0100)
treeb00c5607af1f0e4fb487d9b478d43c2c791962cd
parent05085ddc61332bfb82401a7d5b8d5b0fa24cdea6
Bug 25514: Try to fix random failure from REST/Plugin/Objects.t

It's causing a "Premature connection close" error

https://docs.mojolicious.org/Mojolicious/Guides/FAQ#What-does-Premature-connection-close-mean

This is just a guess but maybe it would help to have the Test::Mojo
object initiated just before the get?

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/REST/Plugin/Objects.t