Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Eventuous.Tests.Extensions.AspNetCore;
[ClassDataSource<WebApplicationFactory<Program>>]
public class AggregateCommandsTests(WebApplicationFactory<Program> factory) : TestBaseWithLogs {
[Test]
public async Task MapAggregateContractToCommandExplicitly() {
public async Task MapContractExplicitly() {
var fixture = new ServerFixture(
factory,
_ => { },
Expand All @@ -22,7 +22,7 @@ public async Task MapAggregateContractToCommandExplicitly() {
}

[Test]
public async Task MapAggregateContractToCommandExplicitlyWithoutRoute() {
public async Task MapContractExplicitlyWithoutRoute() {
var fixture = new ServerFixture(
factory,
_ => { },
Expand All @@ -35,7 +35,7 @@ public async Task MapAggregateContractToCommandExplicitlyWithoutRoute() {
}

[Test]
public async Task MapAggregateContractToCommandExplicitlyWithoutRouteWithGenericAttr() {
public async Task MapContractExplicitlyWithoutRouteWithGenericAttr() {
var fixture = new ServerFixture(
factory,
_ => { },
Expand All @@ -48,7 +48,7 @@ public async Task MapAggregateContractToCommandExplicitlyWithoutRouteWithGeneric
}

[Test]
public void MapAggregateContractToCommandExplicitlyWithoutRouteWithWrongGenericAttr() {
public void MapContractExplicitlyWithoutRouteWithWrongGenericAttr() {
Assert.Throws<InvalidOperationException>(Act);

return;
Expand Down Expand Up @@ -92,6 +92,7 @@ static async Task Execute(ServerFixture fixture, string route) {
);
var content = await fixture.ExecuteRequest<ImportBookingHttp, BookingState>(import, route, bookRoom.BookingId);

await VerifyJson(content);
await VerifyJson(content)
.IgnoreParameters();
}
}
Loading