Merge
This commit is contained in:
@@ -5,6 +5,7 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
using NUnit.Framework;
|
||||
using Umbraco.Cms.Core.Events;
|
||||
using Umbraco.Cms.Core.Notifications;
|
||||
using Umbraco.Cms.Tests.Common.Attributes;
|
||||
using Umbraco.Cms.Tests.Integration.TestServerTest;
|
||||
|
||||
namespace Umbraco.Cms.Tests.Integration.Umbraco.Core.Events;
|
||||
@@ -19,6 +20,7 @@ public class EventAggregatorTests : UmbracoTestServerTestBase
|
||||
}
|
||||
|
||||
[Test]
|
||||
[LongRunning]
|
||||
public async Task Publish_HandlerWithScopedDependency_DoesNotThrow()
|
||||
{
|
||||
var result = await Client.GetAsync("/test-handler-with-scoped-services");
|
||||
|
||||
@@ -7,6 +7,7 @@ using NUnit.Framework;
|
||||
using Umbraco.Cms.Core.Hosting;
|
||||
using Umbraco.Cms.Core.IO;
|
||||
using Umbraco.Cms.Core.IO.MediaPathSchemes;
|
||||
using Umbraco.Cms.Tests.Common.Attributes;
|
||||
using Umbraco.Cms.Tests.Common.Testing;
|
||||
using Umbraco.Cms.Tests.Integration.Testing;
|
||||
|
||||
@@ -32,6 +33,7 @@ public class FileSystemsTests : UmbracoIntegrationTest
|
||||
}
|
||||
|
||||
[Test]
|
||||
[LongRunning]
|
||||
public void Can_Delete_MediaFiles()
|
||||
{
|
||||
var mediaFileManager = GetRequiredService<MediaFileManager>();
|
||||
|
||||
@@ -9,6 +9,7 @@ using Umbraco.Cms.Core;
|
||||
using Umbraco.Cms.Core.Configuration.Models;
|
||||
using Umbraco.Cms.Core.Hosting;
|
||||
using Umbraco.Cms.Core.IO;
|
||||
using Umbraco.Cms.Tests.Common.Attributes;
|
||||
using Umbraco.Cms.Tests.Common.Testing;
|
||||
using Umbraco.Cms.Tests.Integration.Implementations;
|
||||
using Umbraco.Cms.Tests.Integration.Testing;
|
||||
@@ -572,6 +573,7 @@ public class ShadowFileSystemTests : UmbracoIntegrationTest
|
||||
}
|
||||
|
||||
[Test]
|
||||
[LongRunning]
|
||||
public void ShadowScopeCompleteWithDirectoryConflict()
|
||||
{
|
||||
var path = HostingEnvironment.MapPathContentRoot("FileSysTests");
|
||||
|
||||
@@ -12,6 +12,7 @@ using Umbraco.Cms.Core.PropertyEditors;
|
||||
using Umbraco.Cms.Core.Serialization;
|
||||
using Umbraco.Cms.Core.Services;
|
||||
using Umbraco.Cms.Core.Strings;
|
||||
using Umbraco.Cms.Tests.Common.Attributes;
|
||||
using Umbraco.Cms.Tests.Common.Builders;
|
||||
using Umbraco.Cms.Tests.Common.Testing;
|
||||
using Umbraco.Cms.Tests.Integration.Testing;
|
||||
@@ -127,6 +128,7 @@ public class ContentTypeModelMappingTests : UmbracoIntegrationTest
|
||||
}
|
||||
|
||||
[Test]
|
||||
[LongRunning]
|
||||
public void ContentTypeSave_To_IContentType()
|
||||
{
|
||||
// Arrange
|
||||
|
||||
@@ -15,6 +15,7 @@ using Umbraco.Cms.Core.IO;
|
||||
using Umbraco.Cms.Core.Models;
|
||||
using Umbraco.Cms.Core.Packaging;
|
||||
using Umbraco.Cms.Core.Services;
|
||||
using Umbraco.Cms.Tests.Common.Attributes;
|
||||
using Umbraco.Cms.Tests.Common.Builders;
|
||||
using Umbraco.Cms.Tests.Common.Testing;
|
||||
using Umbraco.Cms.Tests.Integration.Testing;
|
||||
@@ -213,6 +214,7 @@ public class CreatedPackagesRepositoryTests : UmbracoIntegrationTest
|
||||
}
|
||||
|
||||
[Test]
|
||||
[LongRunning]
|
||||
public void Export_Zip()
|
||||
{
|
||||
var mt = MediaTypeBuilder.CreateImageMediaType("testImage");
|
||||
|
||||
@@ -3,6 +3,7 @@ using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using NUnit.Framework;
|
||||
using Umbraco.Cms.Core;
|
||||
using Umbraco.Cms.Tests.Common.Attributes;
|
||||
using Umbraco.Cms.Tests.Integration.TestServerTest;
|
||||
|
||||
namespace Umbraco.Cms.Tests.Integration.Umbraco.Core;
|
||||
@@ -11,6 +12,7 @@ namespace Umbraco.Cms.Tests.Integration.Umbraco.Core;
|
||||
public class PublishedContentQueryAccessorTests : UmbracoTestServerTestBase
|
||||
{
|
||||
[Test]
|
||||
[LongRunning]
|
||||
public async Task PublishedContentQueryAccessor_WithRequestScope_WillProvideQuery()
|
||||
{
|
||||
var result = await Client.GetAsync("/demo-published-content-query-accessor");
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,6 +6,7 @@ using Umbraco.Cms.Core.Models;
|
||||
using Umbraco.Cms.Core.Models.ContentEditing;
|
||||
using Umbraco.Cms.Core.Models.Membership;
|
||||
using Umbraco.Cms.Core.Services;
|
||||
using Umbraco.Cms.Tests.Common.Attributes;
|
||||
using Umbraco.Cms.Tests.Common.Builders;
|
||||
using Umbraco.Cms.Tests.Common.Builders.Extensions;
|
||||
using Umbraco.Cms.Tests.Integration.TestServerTest;
|
||||
@@ -32,6 +33,7 @@ public class ContentVariantAllowedActionTests : UmbracoTestServerTestBase
|
||||
}
|
||||
|
||||
[Test]
|
||||
[LongRunning]
|
||||
public async Task CanCheckIfUserHasAccessToLanguage()
|
||||
{
|
||||
// setup user groups
|
||||
|
||||
Reference in New Issue
Block a user