View | Details | Raw Unified | Return to bug 30394
Collapse All | Expand All

(-)a/t/db_dependent/api/v1/query.t (-2 / +4 lines)
Lines 34-40 t::lib::Mocks::mock_preference( 'RESTBasicAuth', 1 ); Link Here
34
34
35
subtest 'q handling tests' => sub {
35
subtest 'q handling tests' => sub {
36
36
37
    plan tests => 15;
37
    plan tests => 17;
38
38
39
    $schema->storage->txn_begin;
39
    $schema->storage->txn_begin;
40
40
Lines 100-104 subtest 'q handling tests' => sub { Link Here
100
100
101
    is( scalar @{$cities}, 1, 'empty list as first query, 1 city retrieved' );
101
    is( scalar @{$cities}, 1, 'empty list as first query, 1 city retrieved' );
102
102
103
    $t->get_ok("//$userid:$password@/api/v1/cities" => { 'x-koha-request-id' => 100 } )
104
      ->header_is( 'x-koha-request-id' => 100 );
105
103
    $schema->storage->txn_rollback;
106
    $schema->storage->txn_rollback;
104
};
107
};
105
- 

Return to bug 30394