Skip to content

Commit 28cbcdd

Browse files
committed
Use private.json instead of .config
1 parent 7661450 commit 28cbcdd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ StyleCop.Cache
1919
/.vs
2020
/packages
2121
/RedditSharpTests/secrets.json
22-
/RedditSharpTests/private.config
22+
/RedditSharpTests/private.json

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Development
22

3-
Use a private.config file to pull in config for tests. The required format is as follows
3+
Use a private.json file to pull in config for tests. The required format is as follows
44

55
```json
66
{

RedditSharpTests/AuthenticatedTestsFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class AuthenticatedTestsFixture
1212
public AuthenticatedTestsFixture()
1313
{
1414
ConfigurationBuilder builder = new ConfigurationBuilder();
15-
builder.AddJsonFile("private.config",true)
15+
builder.AddJsonFile("private.json",true)
1616
.AddEnvironmentVariables();
1717
Config = builder.Build();
1818
WebAgent = new RedditSharp.BotWebAgent(Config["TestUserName"], Config["TestUserPassword"], Config["RedditClientID"], Config["RedditClientSecret"], Config["RedditRedirectURI"]);

RedditSharpTests/RedditSharpTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</ItemGroup>
2828

2929
<ItemGroup>
30-
<None Update="private.config">
30+
<None Update="private.json">
3131
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3232
</None>
3333
<None Update="secrets.json">

0 commit comments

Comments
 (0)