From fab4decc3d598d9cb17d69394db1bebc066dc169 Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Mon, 12 Oct 2020 16:23:08 +0200 Subject: [PATCH] Clean up Signed-off-by: Bjarke Berg --- .../Services/ContentServiceTests.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Umbraco.Tests.Integration/Services/ContentServiceTests.cs b/src/Umbraco.Tests.Integration/Services/ContentServiceTests.cs index 26f6a8c720..78c0d84b22 100644 --- a/src/Umbraco.Tests.Integration/Services/ContentServiceTests.cs +++ b/src/Umbraco.Tests.Integration/Services/ContentServiceTests.cs @@ -98,7 +98,6 @@ namespace Umbraco.Tests.Integration.Services FileService.SaveTemplate(template); var contentType = ContentTypeBuilder.CreateTextPageContentType(defaultTemplateId: template.Id); - FileService.SaveTemplate(contentType.DefaultTemplate); ContentTypeService.Save(contentType); var blueprint = ContentBuilder.CreateTextpageContent(contentType, "hello", Constants.System.Root); @@ -124,7 +123,6 @@ namespace Umbraco.Tests.Integration.Services FileService.SaveTemplate(template); var contentType = ContentTypeBuilder.CreateTextPageContentType(defaultTemplateId: template.Id); - FileService.SaveTemplate(contentType.DefaultTemplate); ContentTypeService.Save(contentType); var blueprint = ContentBuilder.CreateTextpageContent(contentType, "hello", Constants.System.Root); @@ -1655,7 +1653,6 @@ namespace Umbraco.Tests.Integration.Services { new ContentTypeSort(new Lazy(() => contentType.Id), 0, contentType.Alias) }; - FileService.SaveTemplate(contentType.DefaultTemplate); ContentTypeService.Save(contentType); var parentPage = ContentBuilder.CreateSimpleContent(contentType); @@ -1694,7 +1691,6 @@ namespace Umbraco.Tests.Integration.Services { new ContentTypeSort(new Lazy(() => contentType.Id), 0, contentType.Alias) }; - FileService.SaveTemplate(contentType.DefaultTemplate); ContentTypeService.Save(contentType); var parentPage = ContentBuilder.CreateSimpleContent(contentType); @@ -2137,7 +2133,6 @@ namespace Umbraco.Tests.Integration.Services contentType.Variations = ContentVariation.Culture; var p1 = contentType.PropertyTypes.First(); p1.Variations = ContentVariation.Culture; - FileService.SaveTemplate(contentType.DefaultTemplate); // else, FK violation on contentType! ContentTypeService.Save(contentType); var page = new Content("Page", Constants.System.Root, contentType)