From 208351843ee9eb498c37fa7eda62b8843ba87118 Mon Sep 17 00:00:00 2001 From: Mason James Date: Tue, 4 Feb 2020 17:20:27 +1300 Subject: [PATCH] Bug 22522: Fix route typo Content-Type: text/plain; charset="utf-8" --- t/db_dependent/Koha/REST/Plugin/PluginRoutes.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t b/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t index 6444d8b..278137f 100644 --- a/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t +++ b/t/db_dependent/Koha/REST/Plugin/PluginRoutes.t @@ -71,7 +71,7 @@ subtest 'Bad plugins tests' => sub { # Support placeholders () and <> (latter style used starting with Mojolicious::Plugin::OpenAPI@1.28) # TODO: remove () if minimum version is bumped to at least 1.28. ok( !exists $routes->{'/contrib/badass/patrons/(:patron_id)/bother_wrong'} && !exists $routes->{'/contrib/badass/patrons/<:patron_id>/bother_wrong'}, 'Route doesn\'t exist' ); - ok( exists $routes->{'/contrib/testplugin/patrons/(:patron_id>)/bother'} || exists $routes->{'/contrib/testplugin/patrons/<:patron_id>/bother'}, 'Route exists' ); + ok( exists $routes->{'/contrib/testplugin/patrons/(:patron_id)/bother'} || exists $routes->{'/contrib/testplugin/patrons/<:patron_id>/bother'}, 'Route exists' ); $schema->storage->txn_rollback; }; -- 2.1.4