run test on phase 24 and 33
This commit is contained in:
@@ -25,6 +25,9 @@ public class ApiFixture : WebApplicationFactory<Program>, IAsyncLifetime
|
||||
["RabbitMq:Username"] = "guest",
|
||||
["RabbitMq:Password"] = "guest",
|
||||
["RabbitMq:PagingAckTimeoutMs"] = "5000",
|
||||
["RabbitMq:VirtualHost"] = "vigilcare_test",
|
||||
["Kafka:NotificationPublisherGroupId"] = "notification-publisher-integration-test",
|
||||
["Kafka:NotificationPublisherAutoOffsetReset"] = "Latest",
|
||||
["Fhir:ApiKey"] = "dev-integration-key-change-in-production",
|
||||
["ApiKey:Gateway"] = GatewayAuthHelper.DevGatewayKey,
|
||||
});
|
||||
@@ -59,6 +62,15 @@ public class ApiFixture : WebApplicationFactory<Program>, IAsyncLifetime
|
||||
await DbResetHelper.ResetAsync(migrateDb);
|
||||
}
|
||||
|
||||
await RabbitMqTestHelper.EnsureVirtualHostAsync(new RabbitMqOptions
|
||||
{
|
||||
Host = "localhost",
|
||||
Port = 5674,
|
||||
Username = "guest",
|
||||
Password = "guest",
|
||||
VirtualHost = "vigilcare_test",
|
||||
});
|
||||
|
||||
using var scope = Services.CreateScope();
|
||||
var redis = scope.ServiceProvider.GetRequiredService<IConnectionMultiplexer>();
|
||||
var server = redis.GetServer(redis.GetEndPoints().First());
|
||||
|
||||
Reference in New Issue
Block a user