Bugzilla – Attachment 115969 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), 981 bytes, created by
Martin Renvoize (ashimema)
on 2021-01-28 15:51:21 UTC
(
hide
)
Description:
Bug 27330: Regression tests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-01-28 15:51:21 UTC
Size:
981 bytes
patch
obsolete
>From 54b2eda557d0eae2059912847e53d3f3e811d548 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> >--- > 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.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 27330
:
114798
|
114799
|
114800
|
115863
|
115864
|
115865
|
115866
|
115867
|
115968
|
115969
|
115970
|
115971
|
115972
|
116109
|
116110
|
116111
|
116112
|
116113