Bugzilla – Attachment 105658 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: [19.11.x] Fix route typo
Bug-22522-1911x-Fix-route-typo.patch (text/plain), 1.46 KB, created by
Jonathan Druart
on 2020-06-09 09:31:56 UTC
(
hide
)
Description:
Bug 22522: [19.11.x] Fix route typo
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-06-09 09:31:56 UTC
Size:
1.46 KB
patch
obsolete
>From 908bf5275da6fc0db6aa1b6af4a8718d23fe94dc 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: [19.11.x] Fix route typo > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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.20.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