diff --git a/Src/FluentAssertions.DataSets/FluentAssertions.DataSets.csproj b/Src/FluentAssertions.DataSets/FluentAssertions.DataSets.csproj index a1c77c0..0cc0f38 100644 --- a/Src/FluentAssertions.DataSets/FluentAssertions.DataSets.csproj +++ b/Src/FluentAssertions.DataSets/FluentAssertions.DataSets.csproj @@ -41,7 +41,7 @@ - + diff --git a/Tests/Approval.Tests/Approval.Tests.csproj b/Tests/Approval.Tests/Approval.Tests.csproj index 7643bc9..584f61d 100644 --- a/Tests/Approval.Tests/Approval.Tests.csproj +++ b/Tests/Approval.Tests/Approval.Tests.csproj @@ -5,7 +5,7 @@ - + diff --git a/Tests/FluentAssertions.DataSets.Specs/AcceptLicense.cs b/Tests/FluentAssertions.DataSets.Specs/AcceptLicense.cs new file mode 100644 index 0000000..6115b79 --- /dev/null +++ b/Tests/FluentAssertions.DataSets.Specs/AcceptLicense.cs @@ -0,0 +1,19 @@ +using FluentAssertions.DataSets.Specs; +using FluentAssertions.Extensibility; + +[assembly: AssertionEngineInitializer( + typeof(AcceptLicense), + nameof(AcceptLicense.Initialize))] + +namespace FluentAssertions.DataSets.Specs; + +public static class AcceptLicense +{ + // ReSharper disable once UnusedMember.Global +#pragma warning disable CA1822 + public static void Initialize() +#pragma warning restore CA1822 + { + License.Accepted = true; + } +}