tests: add some runtime error in nitin.input
[nit.git] / tests / test_neo4j_batch.nit
index e6ac890..35f550c 100644 (file)
@@ -17,7 +17,7 @@ import neo4j
 var srv = new Neo4jServer
 srv.start_quiet
 
-var key = get_time
+var key = "NIT_TESTING_ID".environ.to_i
 
 var andres = new NeoNode
 andres.labels.add_all(["PERSON", "MALE"])
@@ -65,7 +65,7 @@ assert res4.is_linked
 print res4["name"].to_s
 print res4["age"].to_s
 print res4["status"].to_s
-print res4["groups"].to_s
+print res4["groups"].to_json
 print res4.labels.join(" ")
 assert res4.in_edges.is_empty
 assert not res4.out_edges.is_empty