Skip to content

Commit

Permalink
AppSettingTests - Fixed obsolete warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot committed Apr 13, 2019
1 parent 7df7450 commit c0803f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/NLog.UnitTests/LayoutRenderers/AppSettingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void UseAppSettingTest()
var appSettingLayoutRenderer = new AppSettingLayoutRenderer2
{
ConfigurationManager = configurationManager,
Name = "appSettingTestKey",
Item = "appSettingTestKey",
};

var rendered = appSettingLayoutRenderer.Render(LogEventInfo.CreateNullEvent());
Expand All @@ -68,7 +68,7 @@ public void AppSettingOverridesDefaultTest()
var appSettingLayoutRenderer = new AppSettingLayoutRenderer2
{
ConfigurationManager = configurationManager,
Name = "appSettingTestKey",
Item = "appSettingTestKey",
Default = "UseDefault",
};

Expand All @@ -85,7 +85,7 @@ public void FallbackToDefaultTest()
var appSettingLayoutRenderer = new AppSettingLayoutRenderer2
{
ConfigurationManager = configurationManager,
Name = "notFound",
Item = "notFound",
Default = "UseDefault",
};

Expand All @@ -101,7 +101,7 @@ public void NoAppSettingTest()
var appSettingLayoutRenderer = new AppSettingLayoutRenderer2
{
ConfigurationManager = configurationManager,
Name = "notFound",
Item = "notFound",
};

var rendered = appSettingLayoutRenderer.Render(LogEventInfo.CreateNullEvent());
Expand Down

0 comments on commit c0803f6

Please sign in to comment.