Skip to content

Commit 8afa50d

Browse files
committed
Merge branch 'develop' into dev-update_dependabot
2 parents e377f9c + 3421886 commit 8afa50d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
sed -i "s#^auth_token1 =.*#auth_token1 = $KBASE_CI_TOKEN#" test.cfg
4343
sed -i "s#^auth_token2 =.*#auth_token2 = $KBASE_CI_TOKEN2#" test.cfg
4444
sed -i "s#^auth_user1 =.*#auth_user1 = kbase_bot#" test.cfg
45-
sed -i "s#^auth_user2 =.*#auth_user2 = sychan168#" test.cfg
45+
sed -i "s#^auth_user2 =.*#auth_user2 = local_kbase_bot#" test.cfg
4646
sed -i "s#^good_users =.*#good_users = kbasetest2 , kbasetest7 , kbasehelp#" test.cfg
4747
4848
./gradlew test

src/test/java/us/kbase/test/auth/client/AuthClientTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ public void constructFailNullURI() throws Exception {
6161
@Test
6262
public void constructFailBadUrl200() throws Exception {
6363
// this test is fragile, the exception message might need tweaking
64-
final String text = "<!doctype html><html lang=\"en\"><head>"
65-
+ "<script async src=\"https://www.googletagmanager.com/gtag/js?...";
66-
final String err = "Failed reading from auth url https://ci.kbase.us/services/authx/ "
64+
final String text = "<!doctype html>\n<html>\n<head>\n "
65+
+ "<title>Example Domain</title>\n\n <meta charset=\"utf-8\" />\n ...";
66+
final String err = "Failed reading from auth url https://example.org "
6767
+ "with response code 200 - response is not JSON: " + text;
6868
assertThat("text is too long", text.length(), is(100));
69-
failConstruct(new URI("https://ci.kbase.us/services/authx/"), new AuthException(err));
69+
failConstruct(new URI("https://example.org"), new AuthException(err));
7070
assertThat("no logs", LOGS.isEmpty(), is(true));
7171
}
7272

0 commit comments

Comments
 (0)