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

(-)a/t/db_dependent/Koha/REST/Plugin/Objects.t (-2 / +8 lines)
Lines 434-440 subtest 'object.search helper order by embedded columns' => sub { Link Here
434
434
435
subtest 'objects.find helper' => sub {
435
subtest 'objects.find helper' => sub {
436
436
437
    plan tests => 6;
437
    plan tests => 9;
438
438
439
    my $t = Test::Mojo->new;
439
    my $t = Test::Mojo->new;
440
440
Lines 451-456 subtest 'objects.find helper' => sub { Link Here
451
      ->status_is(200)
451
      ->status_is(200)
452
      ->json_is( $city_2->to_api );
452
      ->json_is( $city_2->to_api );
453
453
454
    # Remove the city
455
    my $city_2_id = $city_2->id;
456
    $city_2->delete;
457
    $t->get_ok( '/cities/' . $city_2_id )
458
      ->status_is(200)
459
      ->json_is( undef );
460
454
    $schema->storage->txn_rollback;
461
    $schema->storage->txn_rollback;
455
};
462
};
456
463
457
- 

Return to bug 26636