16 lines
512 B
C#
16 lines
512 B
C#
[Collection("Integration")]
|
|
public class RabbitMqOptionsTests
|
|
{
|
|
private readonly ApiFixture _fixture;
|
|
|
|
public RabbitMqOptionsTests(ApiFixture fixture) => _fixture = fixture;
|
|
|
|
[Fact]
|
|
public void PagingAckTimeoutMs_IsConfiguredForIntegrationTests()
|
|
{
|
|
using var scope = _fixture.Services.CreateScope();
|
|
var opts = scope.ServiceProvider.GetRequiredService<Microsoft.Extensions.Options.IOptions<RabbitMqOptions>>().Value;
|
|
opts.PagingAckTimeoutMs.Should().Be(5000);
|
|
}
|
|
}
|