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', () => {
353353 should . exist ( resJson ) ;
354354 resJson . role . should . equal ( 'customer' ) ;
355355 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' ) ;
357359 server . services . pubsub . publish . calledWith ( 'project.member.invite.created' ) . should . be . true ;
358360 done ( ) ;
359361 }
@@ -407,7 +409,9 @@ describe('Project Member Invite create', () => {
407409 resJson . role . should . equal ( 'customer' ) ;
408410 resJson . projectId . should . equal ( project2 . id ) ;
409411 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' ) ;
411415 server . services . pubsub . publish . calledWith ( 'project.member.invite.created' ) . should . be . true ;
412416 done ( ) ;
413417 }
You can’t perform that action at this time.
0 commit comments