Bugzilla – Attachment 104937 Details for
Bug 25482
Wrong permissions in spec break Plack on Debian 10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25482: Fix tests
Bug-25482-Fix-tests.patch (text/plain), 2.07 KB, created by
Martin Renvoize (ashimema)
on 2020-05-15 11:45:50 UTC
(
hide
)
Description:
Bug 25482: Fix tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-05-15 11:45:50 UTC
Size:
2.07 KB
patch
obsolete
>From f9c4ef1d22150aa8bd66ed1f86cc6a88e27798d8 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 13 May 2020 19:34:30 -0300 >Subject: [PATCH] Bug 25482: Fix tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/api/v1/advanced_editor_macros.t | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/t/db_dependent/api/v1/advanced_editor_macros.t b/t/db_dependent/api/v1/advanced_editor_macros.t >index f9a9140d49..e4a0625272 100644 >--- a/t/db_dependent/api/v1/advanced_editor_macros.t >+++ b/t/db_dependent/api/v1/advanced_editor_macros.t >@@ -95,19 +95,19 @@ subtest 'list() tests' => sub { > plan tests => 15; > $t->get_ok("//$userid:$password@/api/v1/advanced_editor/macros?name=" . $macro_2->name) > ->status_is(200) >- ->json_has( [ $macro_2 ] ); >+ ->json_is( [ $macro_2->to_api ] ); > $t->get_ok("//$userid:$password@/api/v1/advanced_editor/macros?name=" . $macro_3->name) > ->status_is(200) >- ->json_has( [ ] ); >- $t->get_ok("//$userid:$password@/api/v1/advanced_editor/macros?macro_text=delete 100") >+ ->json_is( [ ] ); >+ $t->get_ok("//$userid:$password@/api/v1/advanced_editor/macros?macro_text=delete%20100") > ->status_is(200) >- ->json_has( [ $macro_1, $macro_2, $macro_4 ] ); >+ ->json_is( [ $macro_1->to_api, $macro_2->to_api, $macro_4->to_api ] ); > $t->get_ok("//$userid:$password@/api/v1/advanced_editor/macros?patron_id=" . $patron_1->borrowernumber) > ->status_is(200) >- ->json_has( [ $macro_1, $macro_2 ] ); >+ ->json_is( [ $macro_1->to_api, $macro_2->to_api ] ); > $t->get_ok("//$userid:$password@/api/v1/advanced_editor/macros?shared=1") > ->status_is(200) >- ->json_has( [ $macro_2, $macro_4 ] ); >+ ->json_is( [ $macro_2->to_api, $macro_4->to_api ] ); > }; > > # Warn on unsupported query parameter >-- >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 25482
:
104856
|
104857
|
104873
|
104874
|
104936
| 104937 |
104938