Skip to content

Commit 90c5d47

Browse files
committed
Added warning disable for ProxyFactoryFactory test
1 parent c81830b commit 90c5d47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/FluentNHibernate.Testing/Cfg/Db/PersistenceConfigurationTester.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,16 @@ public void ConfigureProperties_should_not_override_values_already_set()
3939

4040
}
4141

42+
#pragma warning disable 612,618
4243
[Test]
4344
public void ConfigureProperties_should_override_values_already_set_with_values_set_in_code()
4445
{
4546
_nhibConfig = new Configuration();
4647
_nhibConfig.Properties["proxyfactory.factory_class"] = "foo";
4748
_config.ProxyFactoryFactory("bar").ConfigureProperties(_nhibConfig);
4849
ValueOf("proxyfactory.factory_class").ShouldEqual("bar");
49-
5050
}
51+
#pragma warning restore 612,618
5152

5253
[Test]
5354
public void Setting_raw_values_should_populate_dictionary()

0 commit comments

Comments
 (0)