Skip to content

Commit 4044b08

Browse files
committed
Fixed Before funcions so that test complete properly
1 parent 90d73a1 commit 4044b08

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

test/v1/tck/steps/matchacceptencesteps.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,6 @@ var util = require("./util")
33

44
module.exports = function () {
55

6-
this.Before(function( scenario, callback ) {
7-
this.driver = neo4j.driver("bolt://localhost");
8-
this.session = this.driver.session();
9-
this.session.run("MATCH (n) DETACH DELETE n").subscribe( {
10-
onCompleted : function( ) {
11-
callback();
12-
}
13-
});
14-
});
15-
166
this.Given(/^init:(.*)$/, function (statement) {
177
return this.session.run(statement);
188
});

test/v1/tck/steps/tyepesystemsteps.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ var util = require("./util");
33

44
module.exports = function () {
55

6-
this.Before(function( scenario ) {
7-
this.driver = neo4j.driver("bolt://localhost");
8-
this.session = this.driver.session();
9-
});
10-
116
this.Given(/^A running database$/, function () {
127
return this.session.run("RETURN 1 AS one");
138
});

0 commit comments

Comments
 (0)