Update document comments app
Add keyword arguments to the app links. Remove use of `raise_404`. Update URL parameters to use document_id and comment_id. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -16,10 +16,6 @@ from .mixins import CommentsTestMixin
|
||||
|
||||
|
||||
class CommentAPITestCase(CommentsTestMixin, DocumentTestMixin, BaseAPITestCase):
|
||||
def setUp(self):
|
||||
super(CommentAPITestCase, self).setUp()
|
||||
self.login_user()
|
||||
|
||||
def _request_api_comment_create_view(self):
|
||||
return self.post(
|
||||
viewname='rest_api:comment-list',
|
||||
|
||||
Reference in New Issue
Block a user