@@ -, +, @@ $ kshell k$ prove t/db_dependent/api/v1/query.t --- t/db_dependent/api/v1/query.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/t/db_dependent/api/v1/query.t +++ a/t/db_dependent/api/v1/query.t @@ -34,7 +34,7 @@ t::lib::Mocks::mock_preference( 'RESTBasicAuth', 1 ); subtest 'q handling tests' => sub { - plan tests => 15; + plan tests => 17; $schema->storage->txn_begin; @@ -100,5 +100,8 @@ subtest 'q handling tests' => sub { is( scalar @{$cities}, 1, 'empty list as first query, 1 city retrieved' ); + $t->get_ok("//$userid:$password@/api/v1/cities" => { 'x-koha-request-id' => 100 } ) + ->header_is( 'x-koha-request-id' => 100 ); + $schema->storage->txn_rollback; }; --