Skip to content

Commit

Permalink
Use MSSQLServerContainer.acceptLicense in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Nov 16, 2021
1 parent 4db9a48 commit 51c4293
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public String getUsername()

String databaseName = "database_" + UUID.randomUUID().toString().replace("-", "");
MSSQLServerContainer<?> container = new TestingMSSQLServerContainer(DOCKER_IMAGE_NAME);
container.addEnv("ACCEPT_EULA", "yes");
container.acceptLicense();
// enable case sensitive (see the CS below) collation for SQL identifiers
container.addEnv("MSSQL_COLLATION", "Latin1_General_CS_AS");

Expand Down

This file was deleted.

0 comments on commit 51c4293

Please sign in to comment.