chg: subscription Registration endpoint
This commit is contained in:
@@ -32,7 +32,7 @@ func TestMembershipController(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (rt *RegisterSubscriptionTest) SetupContext() (*gin.Context, *httptest.ResponseRecorder, *gin.Engine) {
|
func (rt *RegisterSubscriptionTest) SetupContext() (*gin.Context, *httptest.ResponseRecorder, *gin.Engine) {
|
||||||
return GetMockedJSONContext([]byte(rt.Input), "register/subscription")
|
return GetMockedJSONContext([]byte(rt.Input), "api/subscription")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (rt *RegisterSubscriptionTest) RunHandler(c *gin.Context, router *gin.Engine) {
|
func (rt *RegisterSubscriptionTest) RunHandler(c *gin.Context, router *gin.Engine) {
|
||||||
|
|||||||
Reference in New Issue
Block a user