summaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorValerij Fredriksen <valerijf@yahooinc.com>2021-11-17 13:09:19 +0100
committerValerij Fredriksen <valerijf@yahooinc.com>2021-11-17 13:09:19 +0100
commitb37a6217dd73e8aebeef0eba1c9c55dd2954a968 (patch)
tree5ee2c851045e91e17d64be869d76ea2dfffd685a /controller-server
parent623f62fe513b19bad39be2002c482e23bc8a4a07 (diff)
Fix mock
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ConfigServerMock.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ConfigServerMock.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ConfigServerMock.java
index a3674fa27bd..f2fc624630c 100644
--- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ConfigServerMock.java
+++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/integration/ConfigServerMock.java
@@ -567,7 +567,7 @@ public class ConfigServerMock extends AbstractComponent implements ConfigServer
@Override
public ProxyResponse getApplicationPackageContent(DeploymentId deployment, String path, URI requestUri) {
- return new ProxyResponse("{\"path\":\"" + path + "\"}", "application/json", 200);
+ return new ProxyResponse(("{\"path\":\"" + path + "\"}").getBytes(StandardCharsets.UTF_8), "application/json", 200);
}
public void setLogStream(Supplier<String> log) {