Skip to content

Commit 2c1ec6b

Browse files
committed
Add test.
1 parent 756efc2 commit 2c1ec6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

s3/src/test/java/ch/cyberduck/core/sts/AssumeRoleWithWebIdentityAuthenticationTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ public void testSuccessfulLogin() throws BackgroundException {
6868
assertNotNull(credentials.getTokens().getSessionToken());
6969
assertNotNull(credentials.getOauth().getIdToken());
7070
assertNotNull(credentials.getOauth().getRefreshToken());
71+
assertEquals("rouser", credentials.getUsername());
72+
assertEquals("rouser", credentials.getPassword());
7173
assertNotEquals(Optional.of(Long.MAX_VALUE).get(), credentials.getOauth().getExpiryInMilliseconds());
7274
session.close();
7375
}

0 commit comments

Comments
 (0)