@@ -13,11 +13,11 @@ describe('UserEffects', () => {
13
13
let effects : UserEffects ;
14
14
let service : UserService ;
15
15
const userInfo : User = {
16
- name : 'Jerson Morocho ' ,
17
- email : 'jerson.morocho@ioet .com' ,
16
+ name : 'Unknown Name ' ,
17
+ email : 'example@mail .com' ,
18
18
roles : [ ] ,
19
19
groups : [ ] ,
20
- id : 'cc925a5d-9644-4a4f-8d99-0bee49aadd05 ' ,
20
+ id : 'dummy_tenant_id_load ' ,
21
21
tenant_id : null ,
22
22
deleted : null
23
23
} ;
@@ -37,7 +37,7 @@ describe('UserEffects', () => {
37
37
} ) ;
38
38
39
39
it ( 'action type is LOAD_USER_SUCCESS when service is executed successfully' , async ( ) => {
40
- const userId = 'dd4a1571-b025-41c9-b35f-810841b43134 ' ;
40
+ const userId = 'dummy_id_load ' ;
41
41
const serviceSpy = spyOn ( service , 'loadUser' ) ;
42
42
43
43
actions$ = of ( new LoadUser ( userId ) ) ;
@@ -49,7 +49,7 @@ describe('UserEffects', () => {
49
49
} ) ;
50
50
51
51
it ( 'action type is LOAD_USER_FAIL when service fail in execution' , async ( ) => {
52
- const userId = 'dd4a1571-b025-41c9-b35f-810841b43134 ' ;
52
+ const userId = 'dummy_id_load ' ;
53
53
const serviceSpy = spyOn ( service , 'loadUser' ) ;
54
54
55
55
actions$ = of ( new LoadUser ( userId ) ) ;
0 commit comments