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:
Marcel de Rooy 2023-07-12 14:53:46 +00:00 committed by Tomas Cohen Arazi
parent 9c7fdb3ea8
commit 308d75d05d
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ subtest 'list() tests' => sub {
my $smtp_server =
$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")
->status_is(200)->json_is( [ $smtp_server->to_api ] );

View file

@ -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\"}")
->status_is(200)->json_is( [ $suggestion_1->to_api ] );