-
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-v2
- Loading branch information
Taylor Grafft
authored and
Taylor Grafft
committed
Oct 17, 2023
1 parent
baa2ab4
commit 8f8c30c
Showing
5 changed files
with
29 additions
and
18 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(); | ||
|
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
29 changes: 29 additions & 0 deletions
29
server/portal/apps/accounts/migrations/0006_auto_20231017_2033.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,29 @@ | ||
# Generated by Django 3.2.20 on 2023-10-17 20:33 | ||
|
||
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='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