#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

View File

@@ -64,8 +64,7 @@ namespace Orchard.Tests.Data {
}
[Test]
[ExpectedException(typeof(InvalidOperationException),
ExpectedMessage = "Sequence contains more than one element")]
[ExpectedException(typeof(InvalidOperationException))]
public void GetThatReturnsTwoOrMoreShouldThrowException() {
CreateThreeFoos();
_fooRepos.Get(f => f.Name == "one" || f.Name == "three");