nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gitlab-ci: enable neo4j
[nit.git]
/
tests
/
test_neo4j.nit
diff --git
a/tests/test_neo4j.nit
b/tests/test_neo4j.nit
index
974a80a
..
d240047
100644
(file)
--- a/
tests/test_neo4j.nit
+++ b/
tests/test_neo4j.nit
@@
-17,12
+17,9
@@
import neo4j
# key used to loosely assume unicity and prevent conflicting db accesses
var key = "NIT_TESTING_ID".environ.to_i
# key used to loosely assume unicity and prevent conflicting db accesses
var key = "NIT_TESTING_ID".environ.to_i
-var srv = new Neo4jServer
-srv.start_quiet
-
print "# Test local\n"
print "# Test local\n"
-var client = new Neo4jClient("http://localhost:7474")
+var client = new Neo4jClient("http://neo4j:7474")
assert client.is_ok
# Clear the previous objects, if any
assert client.is_ok
# Clear the previous objects, if any
@@
-91,7
+88,7
@@
print "{kate["name"].to_s} IS LOVED BY {kate.in_nodes("LOVES").first["name"].to_
print "\n# Test lazy\n"
print "\n# Test lazy\n"
-client = new Neo4jClient("http://localhost:7474/")
+client = new Neo4jClient("http://neo4j:7474/")
assert client.is_ok
# Read Andres
assert client.is_ok
# Read Andres