diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index adf166f..ccf5628 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -6,7 +6,7 @@
..\..\maersk.ruleset
-
+
all
diff --git a/src/Maersk.Test.AutoFixtureExtensions/AutoDataWithCustomizationAttribute.cs b/src/Maersk.Test.AutoFixtureExtensions/AutoDataWithCustomizationAttribute.cs
index 5c90a8b..f35ea29 100644
--- a/src/Maersk.Test.AutoFixtureExtensions/AutoDataWithCustomizationAttribute.cs
+++ b/src/Maersk.Test.AutoFixtureExtensions/AutoDataWithCustomizationAttribute.cs
@@ -25,7 +25,11 @@ public AutoDataWithCustomizationAttribute(params Type[] customizations)
customizations.Select(customization =>
CustomizationBuilder.CreateCustomization(customization)));
- return new Fixture().Customize(composite);
+ var fixture = new Fixture().Customize(composite);
+
+ fixture.Customize(c => c.FromFactory(DateOnly.FromDateTime));
+
+ return fixture;
})
{
}
diff --git a/src/Maersk.Test.AutoFixtureExtensions/Maersk.Test.AutoFixtureExtensions.csproj b/src/Maersk.Test.AutoFixtureExtensions/Maersk.Test.AutoFixtureExtensions.csproj
index a4b87e9..154737d 100644
--- a/src/Maersk.Test.AutoFixtureExtensions/Maersk.Test.AutoFixtureExtensions.csproj
+++ b/src/Maersk.Test.AutoFixtureExtensions/Maersk.Test.AutoFixtureExtensions.csproj
@@ -3,7 +3,7 @@
net6.0
enable
enable
- 1.2.0
+ 1.3.0
Service Delivery
A.P. Møller - Mærsk
https://github.com/MaerskTech/maersk-test-autofixture-extensions
@@ -23,10 +23,10 @@
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/test/Directory.Build.props b/test/Directory.Build.props
index f57dede..3d8ee2c 100644
--- a/test/Directory.Build.props
+++ b/test/Directory.Build.props
@@ -7,7 +7,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/test/Maersk.Test.AutoFixtureExtensions.Tests/Maersk.Test.AutoFixtureExtensions.Tests.csproj b/test/Maersk.Test.AutoFixtureExtensions.Tests/Maersk.Test.AutoFixtureExtensions.Tests.csproj
index e9bd399..ded1f97 100644
--- a/test/Maersk.Test.AutoFixtureExtensions.Tests/Maersk.Test.AutoFixtureExtensions.Tests.csproj
+++ b/test/Maersk.Test.AutoFixtureExtensions.Tests/Maersk.Test.AutoFixtureExtensions.Tests.csproj
@@ -6,18 +6,18 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all