aboutsummaryrefslogtreecommitdiffstats
path: root/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/HttpListConfigsHandlerTest.java
diff options
context:
space:
mode:
authorHarald Musum <musum@oath.com>2018-04-27 09:16:13 +0200
committerHarald Musum <musum@oath.com>2018-04-27 09:16:13 +0200
commitd66e9892c1bf3920ad402152e4a8c6870dd1ff77 (patch)
tree4e68c3c18ffb21816fe789a66734f17c5be68f44 /configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/HttpListConfigsHandlerTest.java
parente34eafa914c22654beeb33f6c536fe0b216f3fb7 (diff)
Rename tenant repo
Diffstat (limited to 'configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/HttpListConfigsHandlerTest.java')
-rw-r--r--configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/HttpListConfigsHandlerTest.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/HttpListConfigsHandlerTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/HttpListConfigsHandlerTest.java
index e7ccd9f957e..365fb3ed1f0 100644
--- a/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/HttpListConfigsHandlerTest.java
+++ b/configserver/src/test/java/com/yahoo/vespa/config/server/http/v2/HttpListConfigsHandlerTest.java
@@ -5,10 +5,9 @@ import com.yahoo.config.provision.TenantName;
import com.yahoo.config.provision.Zone;
import com.yahoo.container.jdisc.HttpRequest;
import com.yahoo.container.jdisc.HttpResponse;
-import com.yahoo.container.logging.AccessLog;
import com.yahoo.vespa.config.ConfigKey;
import com.yahoo.vespa.config.server.rpc.MockRequestHandler;
-import com.yahoo.vespa.config.server.tenant.Tenants;
+import com.yahoo.vespa.config.server.tenant.TenantRepository;
import com.yahoo.vespa.config.server.http.HandlerTest;
import com.yahoo.vespa.config.server.http.HttpErrorResponse;
import com.yahoo.vespa.config.server.http.SessionHandlerTest;
@@ -44,13 +43,13 @@ public class HttpListConfigsHandlerTest {
}} );
TestTenantBuilder tb = new TestTenantBuilder();
tb.createTenant(TenantName.from("mytenant")).withRequestHandler(mockRequestHandler).build();
- Tenants tenants = tb.createTenants();
+ TenantRepository tenantRepository = tb.createTenants();
handler = new HttpListConfigsHandler(
HttpListConfigsHandler.testOnlyContext(),
- tenants, Zone.defaultZone());
+ tenantRepository, Zone.defaultZone());
namedHandler = new HttpListNamedConfigsHandler(
HttpListConfigsHandler.testOnlyContext(),
- tenants, Zone.defaultZone());
+ tenantRepository, Zone.defaultZone());
}
@Test