Skip to content

Commit 7631703

Browse files
morisilclaude
andcommitted
Fix result state assertion in transaction test
Correct the assertion to verify the result is open (not closed) within the transaction context, as results remain open until consumed or the transaction completes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent a40ffca commit 7631703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/kotlin/Neo4jCoroutineDriverTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ class Neo4jCoroutineDriverTest {
504504
""".trimIndent())
505505

506506
result should {
507-
have(!isOpen())
507+
have(isOpen())
508508
have(keys() == listOf("person1", "age1", "person2", "age2", "friendsSince"))
509509
}
510510

0 commit comments

Comments
 (0)