Bugzilla – Attachment 116110 Details for
Bug 27330
Wrong return status when no enrollments in club holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27330: Regression tests
Bug-27330-Regression-tests.patch (text/plain), 1.01 KB, created by
Katrin Fischer
on 2021-01-31 14:06:44 UTC
(
hide
)
Description:
Bug 27330: Regression tests
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-01-31 14:06:44 UTC
Size:
1.01 KB
patch
obsolete
>From fb6a5ef30d2da2219a23d9b54a92f8438cff3185 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 4 Jan 2021 11:19:58 -0300 >Subject: [PATCH] Bug 27330: Regression tests > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > t/db_dependent/api/v1/clubs_holds.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/clubs_holds.t b/t/db_dependent/api/v1/clubs_holds.t >index 4e4cdf60e7..0f8ca8ef1f 100755 >--- a/t/db_dependent/api/v1/clubs_holds.t >+++ b/t/db_dependent/api/v1/clubs_holds.t >@@ -86,7 +86,7 @@ subtest 'add() tests' => sub { > $t->post_ok( "//$userid:$password@/api/v1/clubs/" > . $club_without_enrollments->id > . "/holds" => json => $data ) >- ->status_is(500) >+ ->status_is(403) > ->json_is( '/error' => "Cannot place a hold on a club without patrons." ); > > $t->post_ok( "//$userid:$password@/api/v1/clubs/" >-- >2.11.0
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 27330
:
114798
|
114799
|
114800
|
115863
|
115864
|
115865
|
115866
|
115867
|
115968
|
115969
|
115970
|
115971
|
115972
|
116109
| 116110 |
116111
|
116112
|
116113