diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-26 21:25:44 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-27 13:35:24 +0200 |
commit | 3e24ba107e91fa9bad3dc1b105c8a3fabf58cb9d (patch) | |
tree | 04dbc973378eb4d9e915bf66c930ff76473d1ec9 /container-disc/src | |
parent | d5347532019fa077091c797a85a5f9a363830b3a (diff) |
Rename AthenzIdentityProviderTest -> AthenzIdentityProviderImplTest
Diffstat (limited to 'container-disc/src')
-rw-r--r-- | container-disc/src/main/java/com/yahoo/container/jdisc/athenz/impl/AthenzIdentityProviderImpl.java | 2 | ||||
-rw-r--r-- | container-disc/src/test/java/com/yahoo/container/jdisc/athenz/impl/AthenzIdentityProviderImplTest.java (renamed from container-disc/src/test/java/com/yahoo/container/jdisc/athenz/AthenzIdentityProviderTest.java) | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/container-disc/src/main/java/com/yahoo/container/jdisc/athenz/impl/AthenzIdentityProviderImpl.java b/container-disc/src/main/java/com/yahoo/container/jdisc/athenz/impl/AthenzIdentityProviderImpl.java index 7821bc306b5..37ea465758c 100644 --- a/container-disc/src/main/java/com/yahoo/container/jdisc/athenz/impl/AthenzIdentityProviderImpl.java +++ b/container-disc/src/main/java/com/yahoo/container/jdisc/athenz/impl/AthenzIdentityProviderImpl.java @@ -29,7 +29,7 @@ public final class AthenzIdentityProviderImpl extends AbstractComponent implemen } // Test only - public AthenzIdentityProviderImpl(IdentityConfig config, ServiceProviderApi serviceProviderApi, AthenzService athenzService) throws IOException { + AthenzIdentityProviderImpl(IdentityConfig config, ServiceProviderApi serviceProviderApi, AthenzService athenzService) throws IOException { KeyPair keyPair = CryptoUtils.createKeyPair(); this.domain = config.domain(); this.service = config.service(); diff --git a/container-disc/src/test/java/com/yahoo/container/jdisc/athenz/AthenzIdentityProviderTest.java b/container-disc/src/test/java/com/yahoo/container/jdisc/athenz/impl/AthenzIdentityProviderImplTest.java index 2cf2f8a4031..1f64fb0d379 100644 --- a/container-disc/src/test/java/com/yahoo/container/jdisc/athenz/AthenzIdentityProviderTest.java +++ b/container-disc/src/test/java/com/yahoo/container/jdisc/athenz/impl/AthenzIdentityProviderImplTest.java @@ -1,11 +1,8 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.container.jdisc.athenz; +package com.yahoo.container.jdisc.athenz.impl; import com.yahoo.container.core.identity.IdentityConfig; -import com.yahoo.container.jdisc.athenz.impl.AthenzIdentityProviderImpl; -import com.yahoo.container.jdisc.athenz.impl.AthenzService; -import com.yahoo.container.jdisc.athenz.impl.InstanceIdentity; -import com.yahoo.container.jdisc.athenz.impl.ServiceProviderApi; +import com.yahoo.container.jdisc.athenz.AthenzIdentityProvider; import org.junit.Assert; import org.junit.Test; @@ -19,7 +16,7 @@ import static org.mockito.Mockito.when; /** * @author mortent */ -public class AthenzIdentityProviderTest { +public class AthenzIdentityProviderImplTest { @Test public void ntoken_fetched_on_init() throws IOException { |