diff --git a/EnvelopeGenerator.Tests.Application/EnvelopeGenerator.Tests.Application.csproj b/EnvelopeGenerator.Tests.Application/EnvelopeGenerator.Tests.Application.csproj index 1ec5a917..fb27e3b5 100644 --- a/EnvelopeGenerator.Tests.Application/EnvelopeGenerator.Tests.Application.csproj +++ b/EnvelopeGenerator.Tests.Application/EnvelopeGenerator.Tests.Application.csproj @@ -18,6 +18,7 @@ + diff --git a/EnvelopeGenerator.Tests.Application/Mock.cs b/EnvelopeGenerator.Tests.Application/Fake.cs similarity index 96% rename from EnvelopeGenerator.Tests.Application/Mock.cs rename to EnvelopeGenerator.Tests.Application/Fake.cs index 32dc744a..3b2e399c 100644 --- a/EnvelopeGenerator.Tests.Application/Mock.cs +++ b/EnvelopeGenerator.Tests.Application/Fake.cs @@ -9,7 +9,7 @@ using Microsoft.Extensions.Hosting; namespace EnvelopeGenerator.Tests.Application; -public class Mock +public class Fake { public static Host CreateHost() => Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder() .ConfigureAppConfiguration((context, config) => @@ -32,7 +32,7 @@ public class Mock #pragma warning restore CS0618 }) .Build() - .ToMock(); + .ToFake(); public class Host : IHost { @@ -98,5 +98,5 @@ public class Mock public static class Extensions { - public static Mock.Host ToMock(this IHost host) => new(host); + public static Fake.Host ToFake(this IHost host) => new(host); } \ No newline at end of file diff --git a/EnvelopeGenerator.Tests.Application/HistoryTests.cs b/EnvelopeGenerator.Tests.Application/HistoryTests.cs index 3b0c6480..f942973f 100644 --- a/EnvelopeGenerator.Tests.Application/HistoryTests.cs +++ b/EnvelopeGenerator.Tests.Application/HistoryTests.cs @@ -7,12 +7,12 @@ namespace EnvelopeGenerator.Tests.Application; [TestFixture] public class HistoryTests { - private Mock.Host _host; + private Fake.Host _host; [SetUp] public async Task Setup() { - _host = Mock.CreateHost(); + _host = Fake.CreateHost(); await _host.AddSampleReceivers(); }