File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/routes/projectMemberInvites Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,8 @@ describe('GET Project Member Invite', () => {
227
227
should . exist ( resJson ) ;
228
228
should . exist ( resJson . projectId ) ;
229
229
resJson . id . should . be . eql ( 3 ) ;
230
- resJson . email . should . be . eql ( 't***t@t***r.com' ) ; // masked
230
+ // not masked, because user who is invited by email is the user who is calling this endpoint
231
+ resJson . email . should . be . eql ( 'test@topcoder.com' ) ;
231
232
resJson . status . should . be . eql ( INVITE_STATUS . PENDING ) ;
232
233
done ( ) ;
233
234
}
Original file line number Diff line number Diff line change @@ -252,7 +252,8 @@ describe('GET Project Member Invites', () => {
252
252
resJson . length . should . be . eql ( 1 ) ;
253
253
// check invitations
254
254
_ . filter ( resJson , inv => inv . id === 3 ) . length . should . be . eql ( 1 ) ;
255
- resJson [ 0 ] . email . should . be . eql ( 't***t@t***r.com' ) ; // masked
255
+ // not masked, because user who is invited by email is the user who is calling this endpoint
256
+ resJson [ 0 ] . email . should . be . eql ( 'test@topcoder.com' ) ;
256
257
done ( ) ;
257
258
}
258
259
} ) ;
You can’t perform that action at this time.
0 commit comments