We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aab21e commit 056912bCopy full SHA for 056912b
src/NHibernate.Test/NHSpecificTest/NH3898/Fixture.cs
@@ -35,14 +35,14 @@ public void GeneratedInsertUpdateTrue()
35
PromotionCount = 9999999
36
};
37
id = session.Save(employee);
38
- Assert.That(employee.PromotionCount, Is.EqualTo(0));
39
tx.Commit();
40
}
41
42
using (var session = OpenSession())
43
using (var tx = session.BeginTransaction())
44
{
45
var employee = session.Get<Employee>(id);
+ Assert.That(employee.PromotionCount, Is.EqualTo(0));
46
employee.Name = "Employee 1 changed";
47
employee.PromotionCount++;
48
Assert.That(employee.PromotionCount, Is.EqualTo(1));
0 commit comments