1
0
mirror of synced 2026-08-05 09:47:05 +00:00

Polish tests

This commit is contained in:
Johnny Lim
2019-01-03 11:09:49 +09:00
committed by Rob Winch
parent 1a02cafe81
commit c94f13a971
4 changed files with 7 additions and 5 deletions
@@ -140,7 +140,7 @@ public class ClientRegistrationsTest {
@Test
public void issuerWhenContainsTrailingSlashThenSuccess() throws Exception {
assertThat(registration("")).isNotNull();
assertThat(this.issuer.endsWith("/")).isTrue();
assertThat(this.issuer).endsWith("/");
}
/**
@@ -97,7 +97,7 @@ public class JwtDecodersTests {
prepareOpenIdConfigurationResponse();
this.server.enqueue(new MockResponse().setBody(JWK_SET));
assertThat(JwtDecoders.fromOidcIssuerLocation(this.issuer)).isNotNull();
assertThat(this.issuer.endsWith("/")).isTrue();
assertThat(this.issuer).endsWith("/");
}
@Test