From cf075b477ebef25e7d137333b44557cfc51379b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20=C3=96rwall?= Date: Thu, 10 Jan 2013 20:49:09 +0100 Subject: [PATCH] syncing test with branch --- .../scala/se/callista/loganalyzer/server/LogServerSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/scala/se/callista/loganalyzer/server/LogServerSuite.scala b/server/src/test/scala/se/callista/loganalyzer/server/LogServerSuite.scala index 4f62c97..545a6f8 100644 --- a/server/src/test/scala/se/callista/loganalyzer/server/LogServerSuite.scala +++ b/server/src/test/scala/se/callista/loganalyzer/server/LogServerSuite.scala @@ -29,7 +29,7 @@ class LogServerSuite(_system: ActorSystem) extends TestKit(_system) test("handle LogMessage objects") { val id = 1 - val accessLog = AccessLog("127.0.0.1", new Date, "GET", "/", Random.nextInt(400)+200, 10) + val accessLog = AccessLog("127.0.0.1", new Date, "GET", "/", 200, 10) val logMessage = LogMessage("hostname", id, accessLog) system.eventStream.subscribe(testActor, classOf[UnhandledMessage])