fix bug in login-dev endpoint; set current_user on login

This commit is contained in:
dandds
2018-08-06 11:37:25 -04:00
parent ac95bf371e
commit e2e0868a83
3 changed files with 6 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ MOCK_USER = {
"email": "fake.user@mail.com",
"first_name": "Fake",
"last_name": "User",
"atat_permissions": []
}
MOCK_REQUEST = RequestFactory.create(
creator=MOCK_USER["id"],