@@ -, +, @@ --- t/db_dependent/Illrequests.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/t/db_dependent/Illrequests.t +++ a/t/db_dependent/Illrequests.t @@ -807,7 +807,7 @@ subtest 'Checking Limits' => sub { subtest 'TO_JSON() tests' => sub { - plan tests => 10; + plan tests => 11; my $illreqmodule = Test::MockModule->new('Koha::Illrequest'); @@ -839,6 +839,8 @@ subtest 'TO_JSON() tests' => sub { undef, '%embed not passed, no \'capabilities\' attribute' ); is( $illreq_json->{library}, undef, '%embed not passed, no \'library\' attribute' ); + is( $illreq_json->{requested_partners}, + undef, '%embed not passed, no \'requested_partners\' attribute' ); $illreq_json = $illreq->TO_JSON( { patron => 1, metadata => 1, capabilities => 1, library => 1 } ); --