Bugzilla – Attachment 98558 Details for
Bug 22522
API authentication breaks with updated Mojolicious version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22522: Fix route typo
Bug-22522-Fix-route-typo.patch (text/plain), 1.32 KB, created by
Ere Maijala
on 2020-02-07 11:51:17 UTC
(
hide
)
Description:
Bug 22522: Fix route typo
Filename:
MIME Type:
Creator:
Ere Maijala
Created:
2020-02-07 11:51:17 UTC
Size:
1.32 KB
patch
obsolete
>From 944a36191f11ffae37fdc43370111cb643900da6 Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Tue, 4 Feb 2020 17:20:27 +1300 >Subject: [PATCH] Bug 22522: Fix route typo > >--- > 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 6444d8bc64..278137fda0 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.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22522
:
86756
|
93592
|
98061
|
98089
|
98372
|
98557
|
98558
|
98559
|
98665
|
98666
|
98667
|
99181
|
99182
|
99183
|
105591
|
105639
|
105657
|
105658
|
105659
|
105692