Fix WireMock.Net.Aspire project when using Aspire 13.4.0

This commit is contained in:
Stef Heyenrath
2026-06-02 19:09:32 +02:00
parent 1264df4a72
commit 6caa3df521
10 changed files with 38 additions and 57 deletions
@@ -21,11 +21,6 @@ public class WireMockHealthCheck(WireMockServerResource resource) : IHealthCheck
return HealthCheckResult.Unhealthy("WireMock.Net is not healthy");
}
if (resource.ApiMappingState == WireMockMappingState.NotSubmitted)
{
return HealthCheckResult.Unhealthy("WireMock.Net has not received mappings");
}
return HealthCheckResult.Healthy();
}
@@ -41,4 +36,4 @@ public class WireMockHealthCheck(WireMockServerResource resource) : IHealthCheck
return false;
}
}
}
}