Skip to content

Commit 179ebe2

Browse files
committed
Fix NUnit2023: The type of the actual argument - 'bool' - can never be null
1 parent 62b141d commit 179ebe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate.Test/Criteria/SelectModeTest/SelectModeTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public void SelectModeFetchLazyPropertiesForEntityJoin()
336336

337337
Assert.That(NHibernateUtil.IsInitialized(rootChild), Is.True);
338338
Assert.That(NHibernateUtil.IsInitialized(parentJoin), Is.True);
339-
Assert.That(NHibernateUtil.IsPropertyInitialized(parentJoin, nameof(parentJoin.LazyProp)), Is.Not.Null.Or.Empty);
339+
Assert.That(NHibernateUtil.IsPropertyInitialized(parentJoin, nameof(parentJoin.LazyProp)), Is.True);
340340
Assert.That(parentJoin.LazyProp, Is.Not.Null.Or.Empty);
341341

342342
Assert.That(sqlLog.Appender.GetEvents().Length, Is.EqualTo(1), "Only one SQL select is expected");

0 commit comments

Comments
 (0)