Skip to content

Commit cafbaae

Browse files
committed
Corrected #49
1 parent a0a280a commit cafbaae

File tree

64 files changed

+145
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+145
-67
lines changed

src/Server/Coderr.Server.Api.Client.Tests/codeRR.Server.Api.Client.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyName>Coderr.Server.Api.Client.Tests</AssemblyName>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
8+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
99
<PackageReference Include="xunit" Version="2.3.1" />
1010
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
1111
<PackageReference Include="FluentAssertions" Version="4.19.4" />

src/Server/Coderr.Server.App.Tests/Configuration/DictionaryExtensionsTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void Should_include_key_name_if_item_do_not_exist()
3939
{
4040
var dict = new Dictionary<string, string> {{"Usable", "Vlue"}};
4141

42-
Action actual = () => dict.GetBoolean("hey!");
42+
Action actual = () => dict.GetBoolean("hey!", null);
4343

4444
actual.ShouldThrow<ArgumentException>().Which.Message.Contains("hey!");
4545
}
@@ -74,7 +74,7 @@ public void Should_include_key_name_if_int_item_do_not_exist()
7474
{
7575
var dict = new Dictionary<string, string> {{"Length", "Vlue"}};
7676

77-
Action actual = () => dict.GetInteger("hey!");
77+
Action actual = () => dict.GetInteger("hey!", null);
7878

7979
actual.ShouldThrow<ArgumentException>().Which.Message.Contains("hey!");
8080
}

src/Server/Coderr.Server.App.Tests/Configuration/TestEntitites/MySection.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Collections.Generic;
22
using codeRR.Server.Infrastructure.Configuration;
3+
using Coderr.Server.PluginApi.Config;
34
using FluentAssertions.Execution;
45

56
namespace codeRR.Server.App.Tests.Configuration.TestEntitites

src/Server/Coderr.Server.App.Tests/Configuration/TestEntitites/NonExistantSection.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Collections.Generic;
22
using codeRR.Server.Infrastructure.Configuration;
3+
using Coderr.Server.PluginApi.Config;
34

45
namespace codeRR.Server.App.Tests.Configuration.TestEntitites
56
{

src/Server/Coderr.Server.App.Tests/Configuration/TestEntitites/SoCultural.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Collections.Generic;
22
using codeRR.Server.Infrastructure.Configuration;
3+
using Coderr.Server.PluginApi.Config;
34

45
namespace codeRR.Server.App.Tests.Configuration.TestEntitites
56
{

src/Server/Coderr.Server.App.Tests/Configuration/TestEntitites/WriteTestSection.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Collections.Generic;
22
using codeRR.Server.Infrastructure.Configuration;
3+
using Coderr.Server.PluginApi.Config;
34

45
namespace codeRR.Server.App.Tests.Configuration.TestEntitites
56
{

src/Server/Coderr.Server.App.Tests/TestStore.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using codeRR.Server.App.Configuration;
33
using codeRR.Server.Infrastructure.Configuration;
4+
using Coderr.Server.PluginApi.Config;
45

56
namespace codeRR.Server.App.Tests
67
{

src/Server/Coderr.Server.App.Tests/codeRR.Server.App.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyName>Coderr.Server.App.Tests</AssemblyName>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
8+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
99
<PackageReference Include="xunit" Version="2.3.1" />
1010
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
1111
<PackageReference Include="FluentAssertions" Version="4.19.4" />

src/Server/Coderr.Server.App/Configuration/BaseConfiguration.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using codeRR.Server.Infrastructure.Configuration;
4+
using Coderr.Server.PluginApi.Config;
45

56
namespace codeRR.Server.App.Configuration
67
{

src/Server/Coderr.Server.App/Configuration/CoderrConfigSection.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Collections.Generic;
22
using codeRR.Server.Infrastructure.Configuration;
3+
using Coderr.Server.PluginApi.Config;
34

45
namespace codeRR.Server.App.Configuration
56
{

0 commit comments

Comments
 (0)