Adding in security tests and docs.

This commit is contained in:
charltonaustin 2016-10-10 16:33:58 -04:00
parent 7fc33a9a57
commit 5a4b702888
4 changed files with 44 additions and 8 deletions

View file

@ -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)