Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
bdovaz committed Apr 23, 2024
1 parent 1a8463c commit f2c6e12
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,4 @@
<ProjectReference Include="..\..\src\Keycloak.AuthServices.Common\Keycloak.AuthServices.Common.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Update="FluentAssertions" Version="6.12.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Update="RichardSzalay.MockHttp" Version="7.0.0" />
<PackageReference Update="xunit" Version="2.6.6" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.5.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Keycloak.AuthServices.Sdk.Tests.Admin;
using RichardSzalay.MockHttp;
using Sdk.Admin;

public class KeycloakRealmClientTests : IDisposable
public class KeycloakRealmClientTests
{
private const string BaseAddress = "http://localhost:8080";

Expand Down Expand Up @@ -42,18 +42,4 @@ public async Task GetRealmShouldThrowNotFoundApiExceptionWhenRealmDoesNotExist()
Assert.Equal(HttpStatusCode.NotFound, exception.StatusCode);
this.handler.VerifyNoOutstandingExpectation();
}

public void Dispose()
{
this.Dispose(true);
GC.SuppressFinalize(this);
}

protected virtual void Dispose(bool disposing)
{
if (disposing)
{
this.handler.Dispose();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Keycloak.AuthServices.Sdk.Tests.Admin;
using Sdk.Admin.Models;
using Sdk.Admin.Requests.Users;

public class KeycloakUserClientTests : IDisposable
public class KeycloakUserClientTests
{
private const string BaseAddress = "http://localhost:8080";

Expand Down Expand Up @@ -307,18 +307,4 @@ private static string GetUserRepresentation(Guid userId) =>
""manage"": true
}}
}}";

public void Dispose()
{
this.Dispose(true);
GC.SuppressFinalize(this);
}

protected virtual void Dispose(bool disposing)
{
if (disposing)
{
this.handler.Dispose();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,4 @@
<ProjectReference Include="..\..\src\Keycloak.AuthServices.Sdk\Keycloak.AuthServices.Sdk.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Update="FluentAssertions" Version="6.12.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Update="RichardSzalay.MockHttp" Version="7.0.0" />
<PackageReference Update="xunit" Version="2.6.6" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.5.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>

0 comments on commit f2c6e12

Please sign in to comment.