diff --git a/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapAggregateContractToCommandExplicitlyWithoutRouteWithGenericAttr_factory=Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1[Program].verified.txt b/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapContractExplicitly.verified.txt similarity index 100% rename from src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapAggregateContractToCommandExplicitlyWithoutRouteWithGenericAttr_factory=Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1[Program].verified.txt rename to src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapContractExplicitly.verified.txt diff --git a/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapAggregateContractToCommandExplicitlyWithoutRoute_factory=Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1[Program].verified.txt b/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapContractExplicitlyWithoutRoute.verified.txt similarity index 100% rename from src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapAggregateContractToCommandExplicitlyWithoutRoute_factory=Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1[Program].verified.txt rename to src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapContractExplicitlyWithoutRoute.verified.txt diff --git a/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapAggregateContractToCommandExplicitly_factory=Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1[Program].verified.txt b/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapContractExplicitlyWithoutRouteWithGenericAttr.verified.txt similarity index 100% rename from src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapAggregateContractToCommandExplicitly_factory=Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1[Program].verified.txt rename to src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.MapContractExplicitlyWithoutRouteWithGenericAttr.verified.txt diff --git a/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.cs b/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.cs index 646dca2f..bd02fa94 100644 --- a/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.cs +++ b/src/Extensions/test/Eventuous.Tests.Extensions.AspNetCore/AggregateCommandsTests.cs @@ -9,7 +9,7 @@ namespace Eventuous.Tests.Extensions.AspNetCore; [ClassDataSource>] public class AggregateCommandsTests(WebApplicationFactory factory) : TestBaseWithLogs { [Test] - public async Task MapAggregateContractToCommandExplicitly() { + public async Task MapContractExplicitly() { var fixture = new ServerFixture( factory, _ => { }, @@ -22,7 +22,7 @@ public async Task MapAggregateContractToCommandExplicitly() { } [Test] - public async Task MapAggregateContractToCommandExplicitlyWithoutRoute() { + public async Task MapContractExplicitlyWithoutRoute() { var fixture = new ServerFixture( factory, _ => { }, @@ -35,7 +35,7 @@ public async Task MapAggregateContractToCommandExplicitlyWithoutRoute() { } [Test] - public async Task MapAggregateContractToCommandExplicitlyWithoutRouteWithGenericAttr() { + public async Task MapContractExplicitlyWithoutRouteWithGenericAttr() { var fixture = new ServerFixture( factory, _ => { }, @@ -48,7 +48,7 @@ public async Task MapAggregateContractToCommandExplicitlyWithoutRouteWithGeneric } [Test] - public void MapAggregateContractToCommandExplicitlyWithoutRouteWithWrongGenericAttr() { + public void MapContractExplicitlyWithoutRouteWithWrongGenericAttr() { Assert.Throws(Act); return; @@ -92,6 +92,7 @@ static async Task Execute(ServerFixture fixture, string route) { ); var content = await fixture.ExecuteRequest(import, route, bookRoom.BookingId); - await VerifyJson(content); + await VerifyJson(content) + .IgnoreParameters(); } }