Skip to content

Commit

Permalink
nhibernateGH-3530: Fix failing CharBooleanType test due to change in …
Browse files Browse the repository at this point in the history
…behavior of the CharBooleanType.
  • Loading branch information
David Ellingsworth authored and David Ellingsworth committed Jun 11, 2024
1 parent 6dbd4f0 commit 97a516d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/NHibernate.Test/TypesTest/CharBooleanTypeFixture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Data.Common;
using NHibernate.Engine;
using NHibernate.SqlTypes;
Expand All @@ -19,6 +19,9 @@ public void GetByIndex(bool expected)
CharBooleanType type =new CharBooleanTypeStub();
var session = Substitute.For<ISessionImplementor>();
var reader = Substitute.For<DbDataReader>();

reader.GetString(index0).Returns(expected.ToString());
reader.GetString(index1).Returns(expected.ToString());
reader[index0].Returns(expected.ToString());
reader[index1].Returns(expected.ToString());

Expand Down

0 comments on commit 97a516d

Please sign in to comment.