Skip to content

Commit 238f73e

Browse files
committed
Merge branch 1.3 into 1.4
2 parents f55f62e + df9da80 commit 238f73e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/v1/tck/steps/resultapisteps.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ this.Then(/^the `Result Summary` `Notifications` has one notification with$/, fu
137137
if (Object.keys(givenNotification).length !== Object.keys(given).length) {
138138
throw Error("Keys do not match with expected. Got: " + Object.keys(givenNotification) + " Expected: " + Object.keys(given))
139139
}
140+
141+
// Do not compare notification positions. They differ by Neo4j database version
142+
delete expected['position'];
143+
delete given['position'];
144+
140145
if (!util.compareValues(expected, given)) {
141146
throw Error("Summary notifications does not match. Expected: '" + util.printable(expected) + "' Given: '" + util.printable(givenNotification) + "'");
142147
}

0 commit comments

Comments
 (0)