Add testing appsettings.json
This commit is contained in:
parent
1f221feef3
commit
d98086a455
@ -16,4 +16,12 @@
|
||||
<ProjectReference Include="..\ChaosBot\ChaosBot.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="appsettings.json">
|
||||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
34
ChaosBot.UnitTests/appsettings.json
Normal file
34
ChaosBot.UnitTests/appsettings.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"Bot": {
|
||||
"Name": "ChaosBot",
|
||||
"Version": "1.0",
|
||||
"Database": "ChaosBotSQL.db"
|
||||
},
|
||||
"Discord": {
|
||||
"Token": "INVALID_TOKEN",
|
||||
"Prefix": "!"
|
||||
},
|
||||
"Servers": {},
|
||||
"NLog": {
|
||||
"extensions": {
|
||||
"NLog.Web.AspNetCore": {
|
||||
"assembly": "NLog.Web.AspNetCore"
|
||||
}
|
||||
},
|
||||
"targets": {
|
||||
"loggerconsole": {
|
||||
"type": "console"
|
||||
}
|
||||
},
|
||||
"rules": [
|
||||
{
|
||||
"logger": "*",
|
||||
"minLevel": "Trace",
|
||||
"writeTo": "loggerconsole"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WebServer": {
|
||||
"Port": 8000
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user