@@ -453,7 +453,6 @@ def user_one(self):
453453 twitter = 'userOneTwitter' ,
454454 linkedIn = 'userOneLinkedIn' ,
455455 impactStory = 'userOneImpactStory' ,
456- orcid = 'userOneOrcid' ,
457456 researcherId = 'userOneResearcherId'
458457 )
459458 )
@@ -508,7 +507,6 @@ def data_new_user_one(self, user_one):
508507 'twitter' : ['http://twitter.com/newtwitter' ],
509508 'linkedIn' : ['https://www.linkedin.com/newLinkedIn' ],
510509 'impactStory' : 'https://impactstory.org/newImpactStory' ,
511- 'orcid' : 'http://orcid.org/newOrcid' ,
512510 'researcherId' : 'http://researcherid.com/rid/newResearcherId' ,
513511 }},
514512 }}
@@ -916,7 +914,6 @@ def test_partial_patch_user_logged_in(self, app, user_one, url_user_one):
916914 assert user_one .social ['twitter' ] in social ['twitter' ]
917915 assert user_one .social ['linkedIn' ] in social ['linkedIn' ]
918916 assert user_one .social ['impactStory' ] in social ['impactStory' ]
919- assert user_one .social ['orcid' ] in social ['orcid' ]
920917 assert user_one .social ['researcherId' ] in social ['researcherId' ]
921918 assert user_one .fullname == 'new_fullname'
922919 assert user_one .suffix == 'The Millionth'
@@ -933,7 +930,6 @@ def test_patch_all_social_fields(self, app, user_one, url_user_one, mock_spam_he
933930 'academiaProfileID' : 'okokokok' ,
934931 'ssrn' : 'aaaa' ,
935932 'impactStory' : 'why not' ,
936- 'orcid' : 'ork-id' ,
937933 'researchGate' : 'Why are there so many of these' ,
938934 'researcherId' : 'ok-lastone' ,
939935 'academiaInstitution' : 'Center for Open Science'
@@ -1005,7 +1001,6 @@ def test_partial_patch_user_logged_in_no_social_fields(
10051001 assert user_one .social ['twitter' ] in social ['twitter' ]
10061002 assert user_one .social ['linkedIn' ] in social ['linkedIn' ]
10071003 assert user_one .social ['impactStory' ] in social ['impactStory' ]
1008- assert user_one .social ['orcid' ] in social ['orcid' ]
10091004 assert user_one .social ['researcherId' ] in social ['researcherId' ]
10101005 assert user_one .fullname == 'new_fullname'
10111006 assert user_one .suffix == 'The Millionth'
@@ -1056,7 +1051,6 @@ def test_put_user_logged_in(self, app, user_one, data_new_user_one, url_user_one
10561051 assert 'newtwitter' in social ['twitter' ][0 ]
10571052 assert 'newLinkedIn' in social ['linkedIn' ][0 ]
10581053 assert 'newImpactStory' in social ['impactStory' ]
1059- assert 'newOrcid' in social ['orcid' ]
10601054 assert 'newResearcherId' in social ['researcherId' ]
10611055 user_one .reload ()
10621056 assert user_one .fullname == data_new_user_one ['data' ]['attributes' ]['full_name' ]
@@ -1069,7 +1063,6 @@ def test_put_user_logged_in(self, app, user_one, data_new_user_one, url_user_one
10691063 assert 'newtwitter' in social ['twitter' ][0 ]
10701064 assert 'newLinkedIn' in social ['linkedIn' ][0 ]
10711065 assert 'newImpactStory' in social ['impactStory' ]
1072- assert 'newOrcid' in social ['orcid' ]
10731066 assert 'newResearcherId' in social ['researcherId' ]
10741067
10751068 def test_update_user_sanitizes_html_properly (
0 commit comments