From: <jul...@us...> - 2010-08-11 17:08:10
|
Revision: 5140 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5140&view=rev Author: julian-maughan Date: 2010-08-11 16:08:53 +0000 (Wed, 11 Aug 2010) Log Message: ----------- Fixed compiler warning: use of obsolete NUnit API Modified Paths: -------------- trunk/nhibernate/src/NHibernate.Test/CfgTest/Loquacious/EntityCacheConfigurationFixture.cs Modified: trunk/nhibernate/src/NHibernate.Test/CfgTest/Loquacious/EntityCacheConfigurationFixture.cs =================================================================== --- trunk/nhibernate/src/NHibernate.Test/CfgTest/Loquacious/EntityCacheConfigurationFixture.cs 2010-08-11 14:44:01 UTC (rev 5139) +++ trunk/nhibernate/src/NHibernate.Test/CfgTest/Loquacious/EntityCacheConfigurationFixture.cs 2010-08-11 16:08:53 UTC (rev 5140) @@ -77,7 +77,7 @@ var exception = Assert.Throws<ArgumentOutOfRangeException>( () => configure.EntityCache<EntityToCache>(ce => ce.Collection(e => e.Relation.Elements, cc => { }))); - Assert.That(exception.Message, Text.Contains("Collection not owned by")); + Assert.That(exception.Message, Is.StringContaining("Collection not owned by")); } } } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |