Start the real deal
[aquarium] / src / test / scala / gr / grnet / aquarium / user / UserActorTest.scala
index ba35ab0..30edb7c 100644 (file)
@@ -18,15 +18,16 @@ class UserActorTest {
       0L,
       false,
       null,
+      Nil, Nil,Nil,
       0L,
       ActiveSuspendedSnapshot(true, now),
       CreditSnapshot(0, now),
-      AgreementSnapshot(Agreement("default", now, now) :: Nil, now),
+      AgreementSnapshot(Agreement("default", now, -1) :: Nil, now),
       RolesSnapshot(Nil, now),
       OwnedResourcesSnapshot(ResourceInstanceSnapshot("foo", "1", 0.1F, 1) :: Nil, now)
     )
 
-    //val json = state.toJson
-    //println(json)
+    val json = state.toJson
+    println(json)
   }
 }
\ No newline at end of file