From 0d9a4b96ae668a360cba861a087f6643d4e14f31 Mon Sep 17 00:00:00 2001 From: Ricardo Carneiro <71648276+ricarneiro@users.noreply.github.com> Date: Wed, 23 Jul 2025 14:55:43 -0300 Subject: [PATCH] fix: appSettings de teste --- BCards.sln | 3 +++ src/BCards.Web/appSettings.Testing.json | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/BCards.Web/appSettings.Testing.json diff --git a/BCards.sln b/BCards.sln index 19d9fe7..b49ff96 100644 --- a/BCards.sln +++ b/BCards.sln @@ -14,6 +14,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{02EA EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Pipeline", "Pipeline", "{3F3DEEDF-9E0A-434D-8130-1FBAC43FD1F7}" + ProjectSection(SolutionItems) = preProject + .gitea\workflows\release-deploy.yml = .gitea\workflows\release-deploy.yml + EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/BCards.Web/appSettings.Testing.json b/src/BCards.Web/appSettings.Testing.json new file mode 100644 index 0000000..037e03b --- /dev/null +++ b/src/BCards.Web/appSettings.Testing.json @@ -0,0 +1,20 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning", + "Microsoft.EntityFrameworkCore": "Warning" + } + }, + "ConnectionStrings": { + "DefaultConnection": "mongodb://localhost:27017/BCardsDB_Testing" + }, + "AllowedHosts": "*", + "JWT": { + "Secret": "ThisIsATestSecretKeyForJWTTokenGeneration123456789", + "Issuer": "BCards-Testing", + "Audience": "BCards-Users-Testing", + "ExpiryMinutes": 60 + }, + "Environment": "Testing" +} \ No newline at end of file