refactor(core): Update URL route name for Role TicketCommentBase
ref: #870 #865
This commit is contained in:
@ -168,7 +168,7 @@ class TicketCommentBaseAPITestCases(
|
||||
**valid_data
|
||||
)
|
||||
|
||||
url_ns_name = '_api_v2_ticket_comment_base_sub_thread'
|
||||
url_ns_name = '_api_ticket_comment_base_sub_thread'
|
||||
|
||||
request.cls.url_two = reverse(
|
||||
'v2:' + url_ns_name + '-detail',
|
||||
@ -353,7 +353,7 @@ class TicketCommentBaseAPITestCases(
|
||||
|
||||
|
||||
|
||||
url_ns_name = '_api_v2_ticket_comment_base'
|
||||
url_ns_name = '_api_ticket_comment_base'
|
||||
"""Url namespace (optional, if not required) and url name"""
|
||||
|
||||
|
||||
@ -366,7 +366,7 @@ class TicketCommentBaseAPIInheritedCases(
|
||||
|
||||
model = None
|
||||
|
||||
url_ns_name = '_api_v2_ticket_comment_base_sub'
|
||||
url_ns_name = '_api_ticket_comment_base_sub'
|
||||
|
||||
|
||||
|
||||
|
@ -109,7 +109,7 @@ class TicketCommentBaseViewsetInheritedCases(
|
||||
model: str = None
|
||||
"""name of the model to test"""
|
||||
|
||||
route_name = 'v2:_api_v2_ticket_comment_base_sub'
|
||||
route_name = 'v2:_api_ticket_comment_base_sub'
|
||||
|
||||
|
||||
|
||||
@ -120,6 +120,6 @@ class TicketCommentBaseViewsetTest(
|
||||
|
||||
kwargs = {}
|
||||
|
||||
route_name = 'v2:_api_v2_ticket_comment_base'
|
||||
route_name = 'v2:_api_ticket_comment_base'
|
||||
|
||||
viewset = NoDocsViewSet
|
||||
|
Reference in New Issue
Block a user