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

(-)a/t/db_dependent/api/v1/patrons.t (-2 / +7 lines)
Lines 52-58 subtest 'list() tests' => sub { Link Here
52
    $schema->storage->txn_rollback;
52
    $schema->storage->txn_rollback;
53
53
54
    subtest 'librarian access tests' => sub {
54
    subtest 'librarian access tests' => sub {
55
        plan tests => 17;
55
56
        plan tests => 19;
56
57
57
        $schema->storage->txn_begin;
58
        $schema->storage->txn_begin;
58
59
Lines 90-95 subtest 'list() tests' => sub { Link Here
90
          ->json_is( '/0/restricted' => Mojo::JSON->true )
91
          ->json_is( '/0/restricted' => Mojo::JSON->true )
91
          ->json_hasnt('/1');
92
          ->json_hasnt('/1');
92
93
94
        $t->get_ok( "//$userid:$password@/api/v1/patrons?"
95
              . 'q={"extended_attributes.type":"CODE"}' =>
96
              { 'x-koha-embed' => 'extended_attributes' } )
97
          ->status_is( 200, "Works, doesn't explode" );
98
93
        subtest 'searching date and date-time fields' => sub {
99
        subtest 'searching date and date-time fields' => sub {
94
100
95
            plan tests => 12;
101
            plan tests => 12;
96
- 

Return to bug 30074