mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#18815: Fixing internationalization bug in tests
Work Item: 18815 --HG-- branch : 1.x extra : rebase_source : 341d1f48afb877d313f637bf8cc8d686c333bda7
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user