Skip to content

Commit 0de5a72

Browse files
committed
NHE-161 Simplifying test + making ref bidirectional in mapping
1 parent 94e1483 commit 0de5a72

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Src/NHibernate.Envers.Tests/NetSpecific/Integration/RevisionOnCollectionChange/Fixture.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ public Fixture(string strategyType) : base(strategyType)
1717
protected override void AddToConfiguration(Cfg.Configuration configuration)
1818
{
1919
configuration.SetEnversProperty(ConfigurationKey.GlobalWithModifiedFlag, true);
20-
configuration.SetEnversProperty(ConfigurationKey.RevisionOnCollectionChange, true);
21-
base.AddToConfiguration(configuration);
2220
}
2321

2422
protected override void Initialize()

Src/NHibernate.Envers.Tests/NetSpecific/Integration/RevisionOnCollectionChange/Mapping.hbm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<column name="Id" />
1818
<generator class="guid.comb"/>
1919
</id>
20-
<bag name="Cars">
20+
<bag name="Cars" inverse="true">
2121
<key>
2222
<column name="Owner_Id" />
2323
</key>

0 commit comments

Comments
 (0)