Adding in security tests and docs.
This commit is contained in:
parent
7fc33a9a57
commit
5a4b702888
4 changed files with 44 additions and 8 deletions
|
@ -4283,7 +4283,7 @@ class TestSuperUserManagement(ApiTestCase):
|
|||
self.login(ADMIN_ACCESS_USER)
|
||||
|
||||
# Create a message
|
||||
self.postJsonResponse(SuperUserMessages, data=dict(message={"content": "new message"}))
|
||||
self.postResponse(SuperUserMessages, data=dict(message={"content": "new message"}), expected_code=201)
|
||||
|
||||
json = self.getJsonResponse(SuperUserMessages)
|
||||
|
||||
|
|
Reference in a new issue