#18815: Fixing internationalization bug in tests

Work Item: 18815

--HG--
branch : 1.x
extra : rebase_source : 341d1f48afb877d313f637bf8cc8d686c333bda7
This commit is contained in:
Sebastien Ros
2012-08-14 15:38:02 -07:00
parent c8942c0e08
commit dcacd6eb7f
+1 -2
View File
@@ -64,8 +64,7 @@ namespace Orchard.Tests.Data {
} }
[Test] [Test]
[ExpectedException(typeof(InvalidOperationException), [ExpectedException(typeof(InvalidOperationException))]
ExpectedMessage = "Sequence contains more than one element")]
public void GetThatReturnsTwoOrMoreShouldThrowException() { public void GetThatReturnsTwoOrMoreShouldThrowException() {
CreateThreeFoos(); CreateThreeFoos();
_fooRepos.Get(f => f.Name == "one" || f.Name == "three"); _fooRepos.Get(f => f.Name == "one" || f.Name == "three");