Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
$schema->storage->txn_rollback;
subtest 'librarian access tests' => sub {
- plan tests => 17;
+
+ plan tests => 19;
$schema->storage->txn_begin;
->json_is( '/0/restricted' => Mojo::JSON->true )
->json_hasnt('/1');
+ $t->get_ok( "//$userid:$password@/api/v1/patrons?"
+ . 'q={"extended_attributes.type":"CODE"}' =>
+ { 'x-koha-embed' => 'extended_attributes' } )
+ ->status_is( 200, "Works, doesn't explode" );
+
subtest 'searching date and date-time fields' => sub {
plan tests => 12;