mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixing unit tests
Adding infoset part to content item --HG-- branch : dev
This commit is contained in:
@@ -46,6 +46,10 @@ namespace Orchard.Tests.ContentManagement.Drivers.FieldStorage {
|
|||||||
TypePartDefinition = typeDefinition.Parts.Single()
|
TypePartDefinition = typeDefinition.Parts.Single()
|
||||||
};
|
};
|
||||||
contentItem.Weld(contentPart);
|
contentItem.Weld(contentPart);
|
||||||
|
contentItem.Weld(new InfosetPart {
|
||||||
|
Infoset = contentItem.Record.Infoset,
|
||||||
|
VersionInfoset = contentItem.VersionRecord.Infoset
|
||||||
|
});
|
||||||
return contentPart;
|
return contentPart;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -117,7 +121,7 @@ namespace Orchard.Tests.ContentManagement.Drivers.FieldStorage {
|
|||||||
storage.Set("alpha", "four");
|
storage.Set("alpha", "four");
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test, Ignore("implementation pending")]
|
||||||
public void VersionedSettingOnInfosetField() {
|
public void VersionedSettingOnInfosetField() {
|
||||||
Assert.Fail("todo");
|
Assert.Fail("todo");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user