Skip to content

Commit a9c8afa

Browse files
author
mateusz.wojtania
committed
adjust testing env to pass tests
1 parent e154581 commit a9c8afa

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Frends.Sql.Tests/appsettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"ConnectionStrings": {
3-
"TestDbConnectionString": "Server=(local);Trusted_Connection=True;"
3+
"TestDbConnectionString": "Persist Security Info=True; Server=localhost,5000; User Id=sa; Password=yourStrongPassword123;"
44
}
5-
}
5+
}

Frends.Sql.Tests/docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: "3.9"
2+
3+
services:
4+
mssql:
5+
image: mcr.microsoft.com/mssql/server:2022-latest
6+
container_name: mssql-server
7+
environment:
8+
ACCEPT_EULA: Y
9+
MSSQL_SA_PASSWORD: yourStrongPassword123
10+
ports:
11+
- "5000:1433"

0 commit comments

Comments
 (0)