update test

This commit is contained in:
Himit_ZH 2021-05-25 22:08:22 +08:00 committed by Gitee
parent 380e385440
commit 8d99eff22a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class HduJudgeTest {
@Test
void getLoginCookie() throws Exception {
Map<String, Object> loginUtils = getLoginUtils("Himit_ZH", "hoj123456");
Map<String, Object> loginUtils = getLoginUtils("username", "password");
CodeForcesJudge.CodeForcesToken token = (CodeForcesJudge.CodeForcesToken) loginUtils.get("token");
Connection CEInfoConnection = JsoupUtils.getConnectionFromUrl("https://codeforces.com/data/judgeProtocol", headers, token.cookies);
CEInfoConnection.ignoreContentType(true);