diff --git a/API.IntegrationTests/Docker/InMemoryDatabase.cs b/API.IntegrationTests/Docker/InMemoryDatabase.cs index 7a30cd64..f81e6904 100644 --- a/API.IntegrationTests/Docker/InMemoryDatabase.cs +++ b/API.IntegrationTests/Docker/InMemoryDatabase.cs @@ -14,10 +14,9 @@ public PostgreSqlContainer Container { get { - _container ??= new PostgreSqlBuilder() + _container ??= new PostgreSqlBuilder(image: "postgres:latest") .WithNetwork(DockerNetwork.Instance) .WithName($"tunit-postgresql-{Guid.CreateVersion7()}") - .WithImage("postgres:latest") .WithDatabase("openshock") .WithUsername("openshock") .WithPassword(CryptoUtils.RandomAlphaNumericString(32)) diff --git a/API.IntegrationTests/Docker/InMemoryRedis.cs b/API.IntegrationTests/Docker/InMemoryRedis.cs index 5f7bf8d1..08665784 100644 --- a/API.IntegrationTests/Docker/InMemoryRedis.cs +++ b/API.IntegrationTests/Docker/InMemoryRedis.cs @@ -13,10 +13,9 @@ public RedisContainer Container { get { - _container ??= new RedisBuilder() + _container ??= new RedisBuilder(image: "redis/redis-stack-server:latest") .WithNetwork(DockerNetwork.Instance) .WithName($"tunit-redis-{Guid.CreateVersion7()}") - .WithImage("redis/redis-stack-server:latest") .Build(); return _container; diff --git a/Directory.Packages.props b/Directory.Packages.props index 6b4f9f7b..ddf505ac 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,24 +4,24 @@ true - + - + - - - - - - - - + + + + + + + + @@ -33,14 +33,14 @@ - - - + + + - - - - + + + + \ No newline at end of file