diff --git a/src/Umbraco.Tests.Integration.SqlCe/Umbraco.Infrastructure/Persistence/DatabaseBuilderTests.cs b/src/Umbraco.Tests.Integration.SqlCe/Umbraco.Infrastructure/Persistence/DatabaseBuilderTests.cs index 80f72541a6..e8269fafa9 100644 --- a/src/Umbraco.Tests.Integration.SqlCe/Umbraco.Infrastructure/Persistence/DatabaseBuilderTests.cs +++ b/src/Umbraco.Tests.Integration.SqlCe/Umbraco.Infrastructure/Persistence/DatabaseBuilderTests.cs @@ -18,6 +18,7 @@ namespace Umbraco.Cms.Tests.Integration.Umbraco.Infrastructure.Persistence { [TestFixture] [UmbracoTest] + [Platform("Win")] public class DatabaseBuilderTests : UmbracoIntegrationTest { private IDbProviderFactoryCreator DbProviderFactoryCreator => GetRequiredService(); @@ -32,11 +33,6 @@ namespace Umbraco.Cms.Tests.Integration.Umbraco.Infrastructure.Persistence [Test] public void CreateDatabase() { - if (!TestEnvironment.IsWindows) - { - return; //TODO replace with [Platform("Win")] when we update to NUnit 3.13 + .NET 5 - } - var path = TestContext.CurrentContext.TestDirectory.Split("bin")[0]; AppDomain.CurrentDomain.SetData("DataDirectory", path); const string dbFile = "DatabaseContextTests.sdf";