From 65150e5e61dd9c3d60855656439abf4f0b28c146 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 19 Jul 2024 15:25:52 +0000 Subject: [PATCH] Bug 37389: [WIP] Update tests This is not done yet, I've only updated it to have the tests pass, but we need more. --- t/Koha/REST/Plugin/Query.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/Koha/REST/Plugin/Query.t b/t/Koha/REST/Plugin/Query.t index 2f816f4f14..863b5d8039 100755 --- a/t/Koha/REST/Plugin/Query.t +++ b/t/Koha/REST/Plugin/Query.t @@ -318,10 +318,13 @@ get '/dbic_extended_attributes_join' => sub { ]; my $attributes = { 'prefetch' => ['extended_attributes'] }; + my $result_set = Koha::Patrons->new; + $c->dbic_extended_attributes_join( { 'filtered_params' => $filtered_params, - 'attributes' => $attributes + 'attributes' => $attributes, + 'result_set' => $result_set } ); -- 2.34.1