Fix a type error in test
authorChristos KK Loverdos <loverdos@gmail.com>
Fri, 28 Sep 2012 15:26:17 +0000 (18:26 +0300)
committerChristos KK Loverdos <loverdos@gmail.com>
Fri, 28 Sep 2012 15:26:17 +0000 (18:26 +0300)
src/test/scala/gr/grnet/aquarium/policy/EffectiveUnitPriceTest.scala

index 743f5b3..e2a39f7 100644 (file)
@@ -81,7 +81,7 @@ class EffectiveUnitPriceTest extends TestMethods {
       {cronEnd0=new CronSpec(cronEnd);cronEnd0}))
     val ts=Timeslot(start,end)
     if(printScreen) Console.err.println("Timeslot: " + ts)
-    val efu = new EffectiveUnitPriceModel(v,opt)
+    val efu = new EffectiveUnitPriceModel(v.toString,opt)
     val (l1,l2) =  efu.splitTimeslot(ts)
     noOverlap(l1,l2)
     singleT(ts,l1,l2)