From aa4f2b5915188ab7f72ca9e41ed4d692e0edbd5a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 14 Apr 2020 08:53:15 -0300 Subject: [PATCH] Bug 25044: (follow-up) Fix wrong tests Signed-off-by: Tomas Cohen Arazi --- t/Koha/REST/Plugin/Query.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Koha/REST/Plugin/Query.t b/t/Koha/REST/Plugin/Query.t index 8a275774da..b504f3ba5f 100644 --- a/t/Koha/REST/Plugin/Query.t +++ b/t/Koha/REST/Plugin/Query.t @@ -348,7 +348,7 @@ subtest '/dbic_merge_prefetch' => sub { my $t = Test::Mojo->new; $t->get_ok('/dbic_merge_prefetch')->status_is(200) - ->json_is( '/prefetch/0' => 'biblio' ) + ->json_is( '/prefetch/0' => { 'biblio' => 'orders' } ) ->json_is( '/prefetch/1' => 'item' ); $t->get_ok('/dbic_merge_prefetch_recursive')->status_is(200) -- 2.26.0