-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove TAS calls from user profile; remove notification setting page (#…
- Loading branch information
Showing
7 changed files
with
5 additions
and
49 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
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
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
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 |
---|---|---|
|
@@ -143,10 +143,10 @@ def mock_user_side_effect(username = 'ds_admin', email = '[email protected]'): | |
self.client.login(username='ds_admin', password='admin/password') | ||
|
||
data = {'firstName': 'DS', | ||
'lastName': 'User', 'email': '[email protected]', | ||
'lastName': 'User', | ||
'phone': '555-555-5555', 'institutionId': '1', | ||
'title': 'Center Non-Researcher Staff', | ||
'countryId': '1', 'citizenshipId': '1', | ||
'countryId': '1', | ||
'ethnicity': 'White', 'gender': 'Other', | ||
'bio': 'NEW TEST BIO', | ||
'website': 'NEW_WEBSITE', 'orcid_id': 'NEW_ORCID_ID', 'nh_interests': '13', | ||
|
@@ -162,8 +162,3 @@ def mock_user_side_effect(username = 'ds_admin', email = '[email protected]'): | |
assert 'NEW TEST BIO' in str(resp.content) | ||
assert 'NEW_WEBSITE' in str(resp.content) | ||
assert 'NEW_ORCID_ID' in str(resp.content) | ||
|
||
data['email'] = '[email protected]' | ||
resp = self.client.post(edit_url, data) | ||
resp = self.client.get(manage_url) | ||
assert 'The submitted email already exists! Your email has not been updated!' in str(resp.content) |
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
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
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