aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-athenz/src/test
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@verizonmedia.com>2019-04-10 23:43:18 +0200
committerHåkon Hallingstad <hakon@verizonmedia.com>2019-04-10 23:43:18 +0200
commit9bd1ea0ff940c620460c5181c38541fcd9386483 (patch)
treeadf3e637db26044cd6643e3f0beee6759231b23b /vespa-athenz/src/test
parenteeb0b2b3c6f8a3c3ffff6e8b2c6d169ae4fffbf6 (diff)
Use AthenzIdentity instead of AthensService
Diffstat (limited to 'vespa-athenz/src/test')
-rw-r--r--vespa-athenz/src/test/java/com/yahoo/vespa/athenz/utils/SiaUtilsTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/vespa-athenz/src/test/java/com/yahoo/vespa/athenz/utils/SiaUtilsTest.java b/vespa-athenz/src/test/java/com/yahoo/vespa/athenz/utils/SiaUtilsTest.java
index f69e937f294..0e6aff1eeca 100644
--- a/vespa-athenz/src/test/java/com/yahoo/vespa/athenz/utils/SiaUtilsTest.java
+++ b/vespa-athenz/src/test/java/com/yahoo/vespa/athenz/utils/SiaUtilsTest.java
@@ -1,6 +1,7 @@
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.athenz.utils;
+import com.yahoo.vespa.athenz.api.AthenzIdentity;
import com.yahoo.vespa.athenz.api.AthenzService;
import org.junit.Rule;
import org.junit.Test;
@@ -35,7 +36,7 @@ public class SiaUtilsTest {
AthenzService barService = new AthenzService("my.domain.bar");
Files.createFile(SiaUtils.getPrivateKeyFile(siaRoot, barService));
- List<AthenzService> siaIdentities = SiaUtils.findSiaServices(siaRoot);
+ List<AthenzIdentity> siaIdentities = SiaUtils.findSiaServices(siaRoot);
assertThat(siaIdentities.size(), equalTo(2));
assertThat(siaIdentities, hasItem(fooService));
assertThat(siaIdentities, hasItem(barService));