summaryrefslogtreecommitdiffstats
path: root/container-core/src/test
diff options
context:
space:
mode:
authorOla Aunrønning <ola.aunroe@gmail.com>2018-09-18 14:40:17 +0200
committerOla Aunrønning <ola.aunroe@gmail.com>2018-09-18 15:13:24 +0200
commitce7a90324a0768383da82c84e148e53c840777fd (patch)
tree0cc8469f02f7653ec885a91c30834981eac86c76 /container-core/src/test
parent4a46f72283fe35cba7308b17b64de348346c4218 (diff)
Replace HTTP response with Log class. Other cleanup
Diffstat (limited to 'container-core/src/test')
-rw-r--r--container-core/src/test/java/com/yahoo/container/handler/LogReaderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-core/src/test/java/com/yahoo/container/handler/LogReaderTest.java b/container-core/src/test/java/com/yahoo/container/handler/LogReaderTest.java
index 1a8d5680882..534026f89ac 100644
--- a/container-core/src/test/java/com/yahoo/container/handler/LogReaderTest.java
+++ b/container-core/src/test/java/com/yahoo/container/handler/LogReaderTest.java
@@ -22,7 +22,7 @@ public class LogReaderTest {
String logDirectory = "src/test/resources/logfolder/";
LogReader logReader = new LogReader(21, Long.MAX_VALUE);
JSONObject json = logReader.readLogs(logDirectory);
- String expected = "{\"subfolder\":{\"log2.log\":\"VGhpcyBpcyBhbm90aGVyIGxvZyBmaWxl\"},\"log1.log\":\"VGhpcyBpcyBvbmUgbG9nIGZpbGU=\"}";
+ String expected = "{\"subfolder-log2.log\":\"VGhpcyBpcyBhbm90aGVyIGxvZyBmaWxl\",\"log1.log\":\"VGhpcyBpcyBvbmUgbG9nIGZpbGU=\"}";
String actual = json.toString();
assertEquals(expected, actual);
}