Polish tests
This commit is contained in:
+1
-1
@@ -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("/");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user