Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed dotnet tests #203

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dotnet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/dotnet:1-sdk
FROM mcr.microsoft.com/dotnet/sdk:6.0

COPY . /test-environment

Expand Down
6 changes: 3 additions & 3 deletions dotnet/Tweek.Client.Tests/ContextTestCasesProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static IEnumerable<object[]> SNAKE_CASE_CASES()
};
}

internal static IEnumerable<object[]> INCLUDE_TEST_CASES()
public static IEnumerable<object[]> INCLUDE_TEST_CASES()
{
yield return new object[] {
"@tweek_clients_tests/test_category/_",
Expand All @@ -121,7 +121,7 @@ internal static IEnumerable<object[]> INCLUDE_TEST_CASES()
};
}

internal static IEnumerable<object[]> FLATTEN_TEST_CASES()
public static IEnumerable<object[]> FLATTEN_TEST_CASES()
{
yield return new object[] {
"@tweek_clients_tests/_",
Expand All @@ -133,7 +133,7 @@ internal static IEnumerable<object[]> FLATTEN_TEST_CASES()
};
}

internal static IEnumerable<object[]> IGNORE_KEY_TYPES_TEST_CASES()
public static IEnumerable<object[]> IGNORE_KEY_TYPES_TEST_CASES()
{
yield return new object[] {
"@tweek_clients_tests/test_category/test_key2",
Expand Down
10 changes: 5 additions & 5 deletions dotnet/Tweek.Client.Tests/Tweek.Client.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
<PackageReference Include="FakeItEasy" Version="3.4.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
<PackageReference Include="FakeItEasy" Version="7.3.1" />
</ItemGroup>

<ItemGroup>
Expand Down