File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/routes/projectMemberInvites Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,9 @@ describe('Project Member Invite create', () => {
353
353
should . exist ( resJson ) ;
354
354
resJson . role . should . equal ( 'customer' ) ;
355
355
resJson . projectId . should . equal ( project2 . id ) ;
356
- resJson . email . should . equal ( 'he**o@wo**d.com' ) ; // email is masked
356
+ // temporary disable this feature, because it has some side effects
357
+ // resJson.email.should.equal('he**o@wo**d.com'); // email is masked
358
+ resJson . email . should . equal ( 'hello@world.com' ) ;
357
359
server . services . pubsub . publish . calledWith ( 'project.member.invite.created' ) . should . be . true ;
358
360
done ( ) ;
359
361
}
@@ -407,7 +409,9 @@ describe('Project Member Invite create', () => {
407
409
resJson . role . should . equal ( 'customer' ) ;
408
410
resJson . projectId . should . equal ( project2 . id ) ;
409
411
resJson . userId . should . equal ( 12345 ) ;
410
- resJson . email . should . equal ( 'he**o@wo**d.com' ) ; // email is masked
412
+ // temporary disable this feature, because it has some side effects
413
+ // resJson.email.should.equal('he**o@wo**d.com'); // email is masked
414
+ resJson . email . should . equal ( 'hello@world.com' ) ;
411
415
server . services . pubsub . publish . calledWith ( 'project.member.invite.created' ) . should . be . true ;
412
416
done ( ) ;
413
417
}
You can’t perform that action at this time.
0 commit comments