mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 01:57:55 +08:00
Improved a unit test
--HG-- branch : dev
This commit is contained in:
@@ -177,7 +177,7 @@ namespace Orchard.Tests.ContentManagement {
|
||||
[Test]
|
||||
public void BigStringsShouldNotBeTruncated() {
|
||||
var megaRepository = _container.Resolve<IRepository<MegaRecord>>();
|
||||
var mega = new MegaRecord() { BigStuff = new string('x', 4000) };
|
||||
var mega = new MegaRecord() { BigStuff = new string('x', 20000) };
|
||||
megaRepository.Create(mega);
|
||||
_session.Flush();
|
||||
}
|
||||
|
Reference in New Issue
Block a user