Skip to content

Commit 97ec429

Browse files
committed
update auth url
1 parent d254563 commit 97ec429

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ public void constructFailBadUrl200() throws Exception {
6363
// this test is fragile, the exception message might need tweaking
6464
final String text = "<!doctype html><html lang=\"en\"><head>"
6565
+ "<script async src=\"https://www.googletagmanager.com/gtag/js?...";
66-
final String err = "Failed reading from auth url https://ci.kbase.us/services/authx/ "
66+
final String err = "Failed reading from auth url https://ci.kbase.us/service/auth/ "
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://ci.kbase.us/service/auth/"), new AuthException(err));
7070
assertThat("no logs", LOGS.isEmpty(), is(true));
7171
}
7272

@@ -143,9 +143,6 @@ public void validateToken() throws Exception {
143143
assertThat("both tokens are the same", token1.equals(token2), is(false));
144144
assertThat("both users are the same", user1.equals(user2), is(false));
145145

146-
System.out.println("user1: " + user1);
147-
System.out.println("user2: " + user2);
148-
149146
final AuthClient c = AuthClient.from(new URI(TestCommon.getAuthURI()));
150147

151148
// First time from service

0 commit comments

Comments
 (0)