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

(-)a/t/db_dependent/api/v1/smtp_servers.t (-1 / +1 lines)
Lines 68-74 subtest 'list() tests' => sub { Link Here
68
    my $smtp_server =
68
    my $smtp_server =
69
      $builder->build_object( { class => 'Koha::SMTP::Servers' } );
69
      $builder->build_object( { class => 'Koha::SMTP::Servers' } );
70
70
71
    # One city created, should get returned
71
    # One smtp server created, should get returned
72
    $t->get_ok("//$userid:$password@/api/v1/config/smtp_servers")
72
    $t->get_ok("//$userid:$password@/api/v1/config/smtp_servers")
73
      ->status_is(200)->json_is( [ $smtp_server->to_api ] );
73
      ->status_is(200)->json_is( [ $smtp_server->to_api ] );
74
74
(-)a/t/db_dependent/api/v1/suggestions.t (-2 / +1 lines)
Lines 72-78 subtest 'list() tests' => sub { Link Here
72
        }
72
        }
73
    );
73
    );
74
74
75
    # One city created, should get returned
75
    # One suggestion created, should get returned
76
    $t->get_ok("//$userid:$password@/api/v1/suggestions?q={\"suggested_by\":\"$patron_id\"}")
76
    $t->get_ok("//$userid:$password@/api/v1/suggestions?q={\"suggested_by\":\"$patron_id\"}")
77
      ->status_is(200)->json_is( [ $suggestion_1->to_api ] );
77
      ->status_is(200)->json_is( [ $suggestion_1->to_api ] );
78
78
79
- 

Return to bug 34243