Adding unit tests for Content along with some test helpers.

Implements ContentService U4-936
This commit is contained in:
Morten@Thinkpad-X220
2012-10-10 12:13:23 -02:00
parent 858e549d4a
commit 4e19127dcf
14 changed files with 1144 additions and 51 deletions

View File

@@ -86,6 +86,12 @@ namespace Umbraco.Core.Models.EntityBase
}
}
protected void ResetIdentity()
{
_hasIdentity = false;
_id = 0;
}
/// <summary>
/// Method to call on entity saved when first added
/// </summary>