aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/test/java/com/yahoo/vespa/hosted/controller/api/identifiers/IdentifierTest.java
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@oath.com>2017-10-17 13:42:56 +0200
committerBjørn Christian Seime <bjorncs@oath.com>2017-10-17 13:43:09 +0200
commite381b0f63361c87e4e42736e6d2e82ff4c652e4c (patch)
tree6b6bf563a9227cd4875fc6b832105101b5c01c16 /controller-api/src/test/java/com/yahoo/vespa/hosted/controller/api/identifiers/IdentifierTest.java
parentdfe3c4a1be282fe9817a1649b130c926827a0562 (diff)
Rename AthensDomain -> AthenzDomain
Diffstat (limited to 'controller-api/src/test/java/com/yahoo/vespa/hosted/controller/api/identifiers/IdentifierTest.java')
-rw-r--r--controller-api/src/test/java/com/yahoo/vespa/hosted/controller/api/identifiers/IdentifierTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/controller-api/src/test/java/com/yahoo/vespa/hosted/controller/api/identifiers/IdentifierTest.java b/controller-api/src/test/java/com/yahoo/vespa/hosted/controller/api/identifiers/IdentifierTest.java
index f27bcb0c3af..05ab94fc118 100644
--- a/controller-api/src/test/java/com/yahoo/vespa/hosted/controller/api/identifiers/IdentifierTest.java
+++ b/controller-api/src/test/java/com/yahoo/vespa/hosted/controller/api/identifiers/IdentifierTest.java
@@ -119,18 +119,18 @@ public class IdentifierTest {
@Test
public void athens_parent_domain_is_without_name_suffix() {
- assertEquals(new AthensDomain("yby.john"), new AthensDomain("yby.john.myapp").getParent());
+ assertEquals(new AthenzDomain("yby.john"), new AthenzDomain("yby.john.myapp").getParent());
}
@Test
public void athens_domain_name_is_last_suffix() {
- assertEquals("myapp", new AthensDomain("yby.john.myapp").getNameSuffix());
+ assertEquals("myapp", new AthenzDomain("yby.john.myapp").getNameSuffix());
}
@Test
public void domain_without_dot_is_toplevel() {
- assertTrue(new AthensDomain("toplevel").isTopLevelDomain());
- assertFalse(new AthensDomain("not.toplevel").isTopLevelDomain());
+ assertTrue(new AthenzDomain("toplevel").isTopLevelDomain());
+ assertFalse(new AthenzDomain("not.toplevel").isTopLevelDomain());
}
@Test