Skip to content

Commit df95bfc

Browse files
committed
Fix sensitive mail address
Change-Id: Ic55fb65ac9d0aaeb7c5308368a5c51541daa827c
1 parent ec974d0 commit df95bfc

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

hugegraph-test/src/main/java/com/baidu/hugegraph/core/AuthTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ public void testCreateUserWithDetailsInfo() {
109109
HugeUser user = new HugeUser("james");
110110
user.password("pass2");
111111
user.phone("13812345678");
112-
user.email("test@baidu.com");
113-
user.avatar("http://image.baidu.com/image1");
112+
user.email("test@hugegraph.com");
113+
user.avatar("http://image.hugegraph.com/image1");
114114
user.creator("admin");
115115

116116
Id id = authManager.createUser(user);
@@ -120,8 +120,8 @@ public void testCreateUserWithDetailsInfo() {
120120
Assert.assertEquals("pass2", user.password());
121121
Assert.assertEquals(user.create(), user.update());
122122
Assert.assertEquals("13812345678", user.phone());
123-
Assert.assertEquals("test@baidu.com", user.email());
124-
Assert.assertEquals("http://image.baidu.com/image1", user.avatar());
123+
Assert.assertEquals("test@hugegraph.com", user.email());
124+
Assert.assertEquals("http://image.hugegraph.com/image1", user.avatar());
125125

126126
Map<String, Object> expected = new HashMap<>();
127127
expected.put("user_name", "james");

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<developers>
4040
<developer>
4141
<name>lizhangmei</name>
42-
<email>lizhangmei@baidu.com</email>
42+
<email>javaloveme@gmail.com</email>
4343
</developer>
4444
<developer>
4545
<name>zhoney</name>
@@ -51,7 +51,7 @@
5151
</developer>
5252
<developer>
5353
<name>wangjiankui</name>
54-
<email>wangjiankui@baidu.com</email>
54+
<email>wangjiankui1989@163.com</email>
5555
</developer>
5656
<developer>
5757
<name>lizhigang</name>
@@ -75,15 +75,15 @@
7575
</developer>
7676
<developer>
7777
<name>liujie</name>
78-
<email>liujie23@baidu.com</email>
78+
<email>liujie23@unknown</email>
7979
</developer>
8080
<developer>
8181
<name>houzhizhen</name>
82-
<email>houzhizhen@baidu.com</email>
82+
<email>houzhizhen_101@163.com</email>
8383
</developer>
8484
<developer>
8585
<name>zhangsuochao</name>
86-
<email>zhangsuochao@baidu.com</email>
86+
<email>mysuochao@163.com</email>
8787
</developer>
8888
</developers>
8989

0 commit comments

Comments
 (0)