mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
consistent image of MSSQL for integration testing. (#2898)
This commit is contained in:
parent
d93c428b54
commit
ddd861d4c7
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ func TestJdbcVerified(t *testing.T) {
|
|||
sqlServerDatabase := "master"
|
||||
|
||||
mssqlContainer, err := mssql.RunContainer(ctx,
|
||||
testcontainers.WithImage("mcr.microsoft.com/mssql/server:2022-RTM-GDR1-ubuntu-20.04"),
|
||||
testcontainers.WithImage("mcr.microsoft.com/azure-sql-edge"),
|
||||
mssql.WithAcceptEULA(),
|
||||
mssql.WithPassword(sqlServerPass),
|
||||
)
|
||||
|
|
|
@ -22,7 +22,7 @@ func TestSqlServer(t *testing.T) {
|
|||
sqlServerDB := "master"
|
||||
|
||||
mssqlContainer, err := mssql.RunContainer(ctx,
|
||||
testcontainers.WithImage("mcr.microsoft.com/mssql/server:2022-RTM-GDR1-ubuntu-20.04"),
|
||||
testcontainers.WithImage("mcr.microsoft.com/azure-sql-edge"),
|
||||
mssql.WithAcceptEULA(),
|
||||
mssql.WithPassword(sqlServerPass),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue