-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2677 from onaio/fix-2676
Fix exception thrown when updating organization profile
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1054,8 +1054,8 @@ def test_put_role_user_none_existent(self): | |
def test_update_org_name(self): | ||
self._org_create() | ||
|
||
# update name | ||
data = {"name": "Dennis2"} | ||
# update name and email | ||
data = {"name": "Dennis2", "email": "[email protected]"} | ||
request = self.factory.patch("/", data=data, **self.extra) | ||
response = self.view(request, user="denoinc") | ||
self.assertEqual(response.data["name"], "Dennis2") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters