Make Tests Green Again

This commit is contained in:
Stephan
2018-10-09 23:02:22 +02:00
parent ecb46214d8
commit ee24fb4ef7
6 changed files with 15 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
namespace Umbraco.Core.Models
{
/// <summary>
/// Represents a section defined in the app.config file
/// Represents a section defined in the app.config file.
/// </summary>
public class Section
{
@@ -13,9 +13,7 @@
}
public Section()
{
}
{ }
public string Name { get; set; }
public string Alias { get; set; }

View File

@@ -175,7 +175,6 @@ namespace Umbraco.Core.Persistence.Repositories.Implement
{
var list = new List<string>
{
"DELETE FROM cmsTask WHERE nodeId = @id",
"DELETE FROM umbracoUser2NodeNotify WHERE nodeId = @id",
"DELETE FROM umbracoUserGroup2NodePermission WHERE nodeId = @id",
"DELETE FROM umbracoRelation WHERE parentId = @id",

View File

@@ -421,8 +421,6 @@ ORDER BY colName";
{
var list = new List<string>
{
"DELETE FROM cmsTask WHERE userId = @id",
"DELETE FROM cmsTask WHERE parentUserId = @id",
"DELETE FROM umbracoUser2UserGroup WHERE userId = @id",
"DELETE FROM umbracoUser2NodeNotify WHERE userId = @id",
"DELETE FROM umbracoUser WHERE id = @id",