Skip to content

Commit 3610073

Browse files
David EllingsworthDavid Ellingsworth
David Ellingsworth
authored and
David Ellingsworth
committed
GH-3530: Fix failing CharBooleanType test due to change in behavior of the CharBooleanType.
1 parent 7fff1ab commit 3610073

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/NHibernate.Test/TypesTest/CharBooleanTypeFixture.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Data.Common;
33
using NHibernate.Engine;
44
using NHibernate.SqlTypes;
@@ -19,6 +19,9 @@ public void GetByIndex(bool expected)
1919
CharBooleanType type =new CharBooleanTypeStub();
2020
var session = Substitute.For<ISessionImplementor>();
2121
var reader = Substitute.For<DbDataReader>();
22+
23+
reader.GetString(index0).Returns(expected.ToString());
24+
reader.GetString(index1).Returns(expected.ToString());
2225
reader[index0].Returns(expected.ToString());
2326
reader[index1].Returns(expected.ToString());
2427

0 commit comments

Comments
 (0)