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:
parent
2d24f269f5
commit
ef77656e85
|
|
@ -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 ] );
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ] );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue