Bug 34243: Fix copy/pasted city references in api tests
Two occurrences. Just comments. Test plan: Read the patch. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
9c7fdb3ea8
commit
308d75d05d
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ subtest 'list() tests' => sub {
|
||||||
my $smtp_server =
|
my $smtp_server =
|
||||||
$builder->build_object( { class => 'Koha::SMTP::Servers' } );
|
$builder->build_object( { class => 'Koha::SMTP::Servers' } );
|
||||||
|
|
||||||
# One city created, should get returned
|
# One smtp server created, should get returned
|
||||||
$t->get_ok("//$userid:$password@/api/v1/config/smtp_servers")
|
$t->get_ok("//$userid:$password@/api/v1/config/smtp_servers")
|
||||||
->status_is(200)->json_is( [ $smtp_server->to_api ] );
|
->status_is(200)->json_is( [ $smtp_server->to_api ] );
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ subtest 'list() tests' => sub {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
# One city created, should get returned
|
# One suggestion created, should get returned
|
||||||
$t->get_ok("//$userid:$password@/api/v1/suggestions?q={\"suggested_by\":\"$patron_id\"}")
|
$t->get_ok("//$userid:$password@/api/v1/suggestions?q={\"suggested_by\":\"$patron_id\"}")
|
||||||
->status_is(200)->json_is( [ $suggestion_1->to_api ] );
|
->status_is(200)->json_is( [ $suggestion_1->to_api ] );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue