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>
(cherry picked from commit 308d75d05d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Marcel de Rooy 2023-07-12 14:53:46 +00:00 committed by Martin Renvoize
parent 2d24f269f5
commit ef77656e85
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
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 ] );