Skip to content

Commit

Permalink
user和username都容易和环境变量冲突,直接去掉
Browse files Browse the repository at this point in the history
  • Loading branch information
abel533 committed May 19, 2024
1 parent afbd971 commit 82ca7be
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public class ConfigHelperTest {
@Test
public void testUserConfig() {
Config config = new ProviderUserConfig();
String username = config.getStr("user");
Assert.assertEquals("liuzh", username);
Assert.assertEquals("abel533@gmail.com", config.getStr("email"));
}

Expand All @@ -48,7 +46,6 @@ public void testVersionConfig() {

@Test
public void test() {
Assert.assertEquals("liuzh", ConfigHelper.getStr("user"));
Assert.assertEquals("abel533@gmail.com", ConfigHelper.getStr("email"));
Assert.assertEquals("upper_underscore", ConfigHelper.getStr("mybatis.provider.style"));
}
Expand Down

0 comments on commit 82ca7be

Please sign in to comment.