Bugzilla – Attachment 114798 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), 916 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2021-01-04 14:37:03 UTC
(
hide
)
Description:
Bug 27330: Regression tests
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-01-04 14:37:03 UTC
Size:
916 bytes
patch
obsolete
>From 923dbaf80fe8840048ea0b62bef606d866433612 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 > >--- > 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 144abe2b9e..845b962277 100755 >--- a/t/db_dependent/api/v1/clubs_holds.t >+++ b/t/db_dependent/api/v1/clubs_holds.t >@@ -84,7 +84,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.30.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