@@ -20,18 +20,18 @@ describe("Author", () => {
20
20
it ( "should return an initialized instance with a non-empty map" , ( ) => {
21
21
const author = Author . fromJson ( {
22
22
comment_author : "Cédric Belin" ,
23
- comment_author_email : "cedric@ belin.io " ,
24
- comment_author_url : "https://belin.io " ,
23
+ comment_author_email : "contact@cedric- belin.fr " ,
24
+ comment_author_url : "https://cedric- belin.fr " ,
25
25
user_agent : "Mozilla/5.0" ,
26
26
user_ip : "127.0.0.1" ,
27
27
user_role : "administrator"
28
28
} ) ;
29
29
30
- equal ( author . email , "cedric@ belin.io " ) ;
30
+ equal ( author . email , "contact@cedric- belin.fr " ) ;
31
31
equal ( author . ipAddress , "127.0.0.1" ) ;
32
32
equal ( author . role , AuthorRole . Administrator ) ;
33
33
ok ( author . url instanceof URL ) ;
34
- equal ( author . url . href , "https://belin.io /" ) ;
34
+ equal ( author . url . href , "https://cedric- belin.fr /" ) ;
35
35
equal ( author . userAgent , "Mozilla/5.0" ) ;
36
36
} ) ;
37
37
} ) ;
@@ -45,17 +45,17 @@ describe("Author", () => {
45
45
46
46
it ( "should return a non-empty map with an initialized instance" , ( ) => {
47
47
const json = new Author ( {
48
- email : "cedric@ belin.io " ,
48
+ email : "contact@cedric- belin.fr " ,
49
49
ipAddress : "192.168.0.1" ,
50
50
name : "Cédric Belin" ,
51
- url : "https://belin.io " ,
51
+ url : "https://cedric- belin.fr " ,
52
52
userAgent : "Mozilla/5.0"
53
53
} ) . toJSON ( ) ;
54
54
55
55
equal ( Object . keys ( json ) . length , 5 ) ;
56
56
equal ( json . comment_author , "Cédric Belin" ) ;
57
- equal ( json . comment_author_email , "cedric@ belin.io " ) ;
58
- equal ( json . comment_author_url , "https://belin.io /" ) ;
57
+ equal ( json . comment_author_email , "contact@cedric- belin.fr " ) ;
58
+ equal ( json . comment_author_url , "https://cedric- belin.fr /" ) ;
59
59
equal ( json . user_agent , "Mozilla/5.0" ) ;
60
60
equal ( json . user_ip , "192.168.0.1" ) ;
61
61
} ) ;
0 commit comments