diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
index 390bb60..d7b9a1c 100644
--- a/.github/workflows/sonar.yml
+++ b/.github/workflows/sonar.yml
@@ -5,6 +5,8 @@ on:
- master
pull_request:
types: [opened, synchronize, reopened]
+env:
+ ASPNETCORE_ENVIRONMENT: Test
jobs:
build:
name: Build
diff --git a/src/Orion.Api/Orion.Api.csproj b/src/Orion.Api/Orion.Api.csproj
index 28048a6..16f619a 100644
--- a/src/Orion.Api/Orion.Api.csproj
+++ b/src/Orion.Api/Orion.Api.csproj
@@ -22,7 +22,7 @@
-
+
diff --git a/src/Orion.Api/appsettings.Development.json b/src/Orion.Api/appsettings.Development.json
index aaffecd..33908bd 100644
--- a/src/Orion.Api/appsettings.Development.json
+++ b/src/Orion.Api/appsettings.Development.json
@@ -7,7 +7,7 @@
}
},
"ConnectionStrings": {
- "OrionDatabase": "Data Source=localhost,1433;Initial Catalog=Orion;User ID=sa;Password=SqlServer2019!;TrustServerCertificate=True"
+ "OrionDatabase": "Data Source=localhost,1433;Initial Catalog=Orion;User ID=Orion;Password=123;TrustServerCertificate=True"
},
"JwtOptions": {
"SymmetricSecurityKey": "5cCI6IkpXVCJ9.eyJlbWFpbCI6InZhbmRlcmxhbi5nc0BnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJhZG1p",
diff --git a/src/Orion.Api/appsettings.Production.json b/src/Orion.Api/appsettings.Production.json
index 724b89d..3e5c31e 100644
--- a/src/Orion.Api/appsettings.Production.json
+++ b/src/Orion.Api/appsettings.Production.json
@@ -7,7 +7,7 @@
}
},
"ConnectionStrings": {
- "OrionDatabase": "Data Source=localhost,1433;Initial Catalog=Orion;User ID=sa;Password=SqlServer2019!;TrustServerCertificate=True"
+ "OrionDatabase": "Data Source=localhost,1433;Initial Catalog=Orion;User ID=Orion;Password=123;TrustServerCertificate=True"
},
"JwtOptions": {
"SymmetricSecurityKey": "5cCI6IkpXVCJ9.eyJlbWFpbCI6InZhbmRlcmxhbi5nc0BnbWFpbC5jb20iLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJhZG1p",
diff --git a/src/Orion.Application.Core/Orion.Application.Core.csproj b/src/Orion.Application.Core/Orion.Application.Core.csproj
index 1cadd51..a3c061b 100644
--- a/src/Orion.Application.Core/Orion.Application.Core.csproj
+++ b/src/Orion.Application.Core/Orion.Application.Core.csproj
@@ -10,10 +10,10 @@
-
+
-
+