Skip to content

Commit 70b4eff

Browse files
committed
some weird stuff happening - test passes if it's configured with SQLite and to output result sql script
1 parent b8c0869 commit 70b4eff

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/FluentNHibernate.Specs/PersistenceModel/SubclassSpecs.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ public class when_subclass_map_has_a_has_many_to_another_entity
3939
model.Add(new SpecialProductMap());
4040
model.Add(new OptionMap());
4141

42-
cfg = new Configuration();
43-
SQLiteConfiguration.Standard.InMemory()
44-
.ConfigureProperties(cfg);
45-
model.Configure(cfg);
42+
//cfg = new Configuration();
43+
//SQLiteConfiguration.Standard.InMemory()
44+
// .ConfigureProperties(cfg);
45+
//model.Configure(cfg);
4646

47-
new SchemaExport(cfg).Create(true, false);
47+
//new SchemaExport(cfg).Create(true, false);
4848
};
4949

5050
Because of = () =>

src/FluentNHibernate/MappingModel/Collections/AttributeLayeredValues.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ public AttributeLayeredValues()
1515
inner = new Dictionary<string, LayeredValues>();
1616
}
1717

18-
1918
public AttributeLayeredValues(SerializationInfo info, StreamingContext context)
2019
{
2120
inner = (Dictionary<string, LayeredValues>)info
@@ -28,7 +27,6 @@ public LayeredValues this[string attribute]
2827
get
2928
{
3029
EnsureValueExists(attribute);
31-
3230
return inner[attribute];
3331
}
3432
}

0 commit comments

Comments
 (0)