mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Inlines fixtures instantiation.
This commit is contained in:
1 parent
b648e2f054
commit
59e16d645a
147 files changed
+190
-898
No files matched your search
+1
-2
@@ -25,7 +25,7 @@ public class SetupApplicationEndpointTests
|
||||
{
|
||||
private readonly ICommandHandler<SetupApplicationCommand, Result<RegistrationResponse>> _mockHandler;
|
||||
private readonly SetupApplicationEndpoint _sut;
|
||||
private readonly RegistrationRequestFixture _registrationRequestFixture;
|
||||
private readonly RegistrationRequestFixture _registrationRequestFixture = new();
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="SetupApplicationEndpointTests"/> class.
|
||||
@@ -34,7 +34,6 @@ public class SetupApplicationEndpointTests
|
||||
{
|
||||
_mockHandler = Substitute.For<ICommandHandler<SetupApplicationCommand, Result<RegistrationResponse>>>();
|
||||
_sut = FastEndpoints.Factory.Create<SetupApplicationEndpoint>(_mockHandler);
|
||||
_registrationRequestFixture = new RegistrationRequestFixture();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in new issue
Block a user