Fix a type error in test
[aquarium] / 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)