From 220bc45581b7b5230675746fa641aed4e21e6476 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 12 Jul 2023 14:53:46 +0000 Subject: [PATCH] Bug 34243: Fix copy/pasted city references in api tests Content-Type: text/plain; charset=utf-8 Two occurrences. Just comments. Test plan: Read the patch. Signed-off-by: Marcel de Rooy --- t/db_dependent/api/v1/smtp_servers.t | 2 +- t/db_dependent/api/v1/suggestions.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/api/v1/smtp_servers.t b/t/db_dependent/api/v1/smtp_servers.t index 79c6d59aa2..0852ddc062 100755 --- a/t/db_dependent/api/v1/smtp_servers.t +++ b/t/db_dependent/api/v1/smtp_servers.t @@ -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 ] ); diff --git a/t/db_dependent/api/v1/suggestions.t b/t/db_dependent/api/v1/suggestions.t index 9ad51e27bc..30e146516e 100755 --- a/t/db_dependent/api/v1/suggestions.t +++ b/t/db_dependent/api/v1/suggestions.t @@ -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 ] ); -- 2.30.2