Skip to content

Commit ee83b20

Browse files
committed
Make temporal types tests cluster-safe
1 parent e91c493 commit ee83b20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/neo4j-driver/test/temporal-types.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,10 +1452,10 @@ describe('#integration temporal-types', () => {
14521452
}
14531453

14541454
async function testSendReceiveTemporalValue (value) {
1455-
const result = await session.run(
1455+
const result = await session.executeWrite(tx => tx.run(
14561456
'CREATE (n:Node {value: $value}) RETURN n.value',
14571457
{ value: value }
1458-
)
1458+
))
14591459

14601460
const records = result.records
14611461
expect(records.length).toEqual(1)

0 commit comments

Comments
 (0)