@@ -72,7 +72,10 @@ def setUp(self):
72
72
'pass_reset_code' : None ,
73
73
'pass_reset_timestamp' : None ,
74
74
'user_verify_code' : None ,
75
- 'receive_processing_job_emails' : True
75
+ 'receive_processing_job_emails' : True ,
76
+ 'social_orcid' : None ,
77
+ 'social_researchgate' : None ,
78
+ 'social_googlescholar' : None
76
79
}
77
80
78
81
def tearDown (self ):
@@ -125,7 +128,10 @@ def test_create_user(self):
125
128
'address' : None ,
126
129
'user_level_id' : 5 ,
127
130
'receive_processing_job_emails' : False ,
128
-
131
+
132
+ 'social_orcid' : None ,
133
+ 'social_researchgate' : None ,
134
+ 'social_googlescholar' : None }
129
135
self ._check_correct_info (obs , exp )
130
136
131
137
# Make sure new system messages are linked to user
@@ -162,7 +168,10 @@ def test_create_user_info(self):
162
168
'user_verify_code' : '' ,
163
169
'user_level_id' : 5 ,
164
170
'receive_processing_job_emails' : True ,
165
-
171
+
172
+ 'social_orcid' : None ,
173
+ 'social_researchgate' : None ,
174
+ 'social_googlescholar' : None }
166
175
self ._check_correct_info (obs , exp )
167
176
168
177
def test_create_user_column_not_allowed (self ):
@@ -229,7 +238,10 @@ def test_get_info(self):
229
238
'pass_reset_timestamp' : None ,
230
239
'user_verify_code' : None ,
231
240
'receive_processing_job_emails' : False ,
232
- 'phone' : '222-444-6789'
241
+ 'phone' : '222-444-6789' ,
242
+ 'social_orcid' : None ,
243
+ 'social_researchgate' : None ,
244
+ 'social_googlescholar' : None
233
245
}
234
246
self .assertEqual (self .user .info , expinfo )
235
247
0 commit comments