Skip to content

Commit e75ed41

Browse files
Correct assertions
1 parent de2c03d commit e75ed41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Neo4j.Driver/Neo4j.Driver.Tests/Internal/MessageHandling/Metadata/GqlStatusObjectsAndNotificationsCollectorTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void ShouldCollectEmptyNotifications()
7070

7171
var collected = collector.Collected;
7272
collected.Should().NotBeNull();
73-
collected.Notifications.Should().BeNull();
73+
collected.Notifications.Should().NotBeNull().And.BeEmpty();
7474
collected.GqlStatusObjects.Should().BeNull();
7575
}
7676

@@ -82,8 +82,8 @@ public void ShouldCollectEmptyStatusesAndPolyfillNotifications()
8282

8383
var collected = collector.Collected;
8484
collected.Should().NotBeNull();
85-
collected.GqlStatusObjects.Should().BeNull();
86-
collected.Notifications.Should().BeNull();
85+
collected.GqlStatusObjects.Should().NotBeNull().And.BeEmpty();
86+
collected.Notifications.Should().NotBeNull().And.BeEmpty();
8787
}
8888

8989
[Fact]

0 commit comments

Comments
 (0)