Skip to content

Commit 77f5f38

Browse files
committed
Fixed expected message in unit tests
1 parent 16b0753 commit 77f5f38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

driver/src/test/java/org/neo4j/driver/v1/integration/SessionAsyncIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ public void shouldFailSingleWithEmptyCursor()
581581
}
582582
catch ( NoSuchRecordException e )
583583
{
584-
assertThat( e.getMessage(), containsString( "cursor is empty" ) );
584+
assertThat( e.getMessage(), containsString( "result is empty" ) );
585585
}
586586
}
587587

driver/src/test/java/org/neo4j/driver/v1/integration/TransactionAsyncIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ public void shouldFailSingleWithEmptyCursor()
683683
}
684684
catch ( NoSuchRecordException e )
685685
{
686-
assertThat( e.getMessage(), containsString( "cursor is empty" ) );
686+
assertThat( e.getMessage(), containsString( "result is empty" ) );
687687
}
688688
}
689689

0 commit comments

Comments
 (0)