-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task/WP-109-remove-unused-django-fields (#887)
* task/WP-109-remove-unused-django-fields-v1 * task/WP-109-remove-unused-django-fields-v2 * task/WP-109-remove-unused-django-fields-v3 * task/WP-109-remove-unused-django-fields-v4 --------- Co-authored-by: Taylor Grafft <[email protected]> Co-authored-by: Taylor Grafft <[email protected]> Co-authored-by: Taylor Grafft <[email protected]> Co-authored-by: Sal Tijerina <[email protected]>
- Loading branch information
1 parent
f12180a
commit e427c97
Showing
6 changed files
with
40 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,12 +21,6 @@ const dummyState = { | |
}, | ||
data: { | ||
demographics: { | ||
ethnicity: 'Asian', | ||
gender: 'Male', | ||
bio: '', | ||
website: 'http://owais.io', | ||
orcid_id: 'test', | ||
professional_level: 'Staff (support, administration, etc)', | ||
username: 'ojamil', | ||
email: '[email protected]', | ||
firstName: 'Owais', | ||
|
@@ -77,8 +71,6 @@ describe('Profile Information Component', () => { | |
'Institution', | ||
'Country of Residence', | ||
'Country of Citizenship', | ||
'Ethnicity', | ||
'Gender', | ||
]; | ||
headings.forEach((heading) => { | ||
expect(getByText(heading)).toBeInTheDocument(); | ||
|
37 changes: 37 additions & 0 deletions
37
server/portal/apps/accounts/migrations/0006_auto_20231018_1927.py
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Generated by Django 3.2.20 on 2023-10-18 19:27 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('accounts', '0005_auto_20210316_1950'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='portalprofile', | ||
name='bio', | ||
), | ||
migrations.RemoveField( | ||
model_name='portalprofile', | ||
name='ethnicity', | ||
), | ||
migrations.RemoveField( | ||
model_name='portalprofile', | ||
name='gender', | ||
), | ||
migrations.RemoveField( | ||
model_name='portalprofile', | ||
name='orcid_id', | ||
), | ||
migrations.RemoveField( | ||
model_name='portalprofile', | ||
name='professional_level', | ||
), | ||
migrations.RemoveField( | ||
model_name='portalprofile', | ||
name='website', | ||
), | ||
] |
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