Fixed todo in test that is now possible after update of nunit
This commit is contained in:
@@ -18,6 +18,7 @@ namespace Umbraco.Cms.Tests.Integration.Umbraco.Infrastructure.Persistence
|
||||
{
|
||||
[TestFixture]
|
||||
[UmbracoTest]
|
||||
[Platform("Win")]
|
||||
public class DatabaseBuilderTests : UmbracoIntegrationTest
|
||||
{
|
||||
private IDbProviderFactoryCreator DbProviderFactoryCreator => GetRequiredService<IDbProviderFactoryCreator>();
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user