Skip to content

Commit 855e16a

Browse files
lillo42hazzik
authored andcommitted
improve test
1 parent 253b471 commit 855e16a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/NHibernate.Test/NHSpecificTest/NH2714/Fixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public void PropertyRefUsesOtherColumns()
3535
using (ISession session = OpenSession())
3636
{
3737
var otherInformation = session.Get<Information>(information.Id);
38-
3938
Assert.That(otherInformation.Items.Count, Is.EqualTo(1));
4039
}
4140
}

src/NHibernate.Test/NHSpecificTest/NH2714/Mappings.hbm.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<generator class="native" />
66
</id>
77
<properties name="pref">
8-
<property name="Name" column="aname" />
9-
<property name="ExtraId" column="extraid" />
8+
<property name="Name" column="aName" />
9+
<property name="ExtraId" column="aExtraId" />
1010
</properties>
1111
<set name="Items" lazy="true">
1212
<key property-ref="pref">
13-
<column name="informationName" />
14-
<column name="informationExtraId" />
13+
<column name="aName" />
14+
<column name="aExtraId" />
1515
</key>
1616
<one-to-many class="Item" />
1717
</set>
@@ -21,7 +21,7 @@
2121
<id name="Id" column="id">
2222
<generator class="assigned" />
2323
</id>
24-
<property name="Name" column="aname" />
24+
<property name="Name" column="aName" />
2525
<property name="ExtraId" column="aExtraId" />
2626
</class>
2727
</hibernate-mapping>

0 commit comments

Comments
 (0)