Skip to content

Commit

Permalink
Merge pull request #165 from Aguafrommars/fix/dependencies
Browse files Browse the repository at this point in the history
update packages
  • Loading branch information
aguacongas authored Nov 19, 2023
2 parents a2571a7 + 0469567 commit 80558c6
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions test/Aguacongas.Firebase.Test/Aguacongas.Firebase.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="xunit" Version="2.6.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<PackageReference Include="xunit" Version="2.6.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
20 changes: 10 additions & 10 deletions test/Aguacongas.Firebase.Test/FirebaseClientTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,36 @@ namespace Aguacongase.Identity.Firebase.Test
public class FirebaseClientTest
{
[Fact]
public void PostAsync_should_throw_argument_null_exception_if_url_is_null()
public async Task PostAsync_should_throw_argument_null_exception_if_url_is_null()
{
var sut = CreateSut((request, cancellationToken) =>
{
return Task.FromResult(new HttpResponseMessage(HttpStatusCode.OK));
});

Assert.ThrowsAsync<ArgumentNullException>(() => sut.PostAsync(null, ""));
await Assert.ThrowsAsync<ArgumentNullException>(() => sut.PostAsync(null, ""));
}

[Fact]
public void PostAsync_should_throw_argument_null_exception_if_url_is_empty()
public async Task PostAsync_should_throw_argument_null_exception_if_url_is_empty()
{
var sut = CreateSut((request, cancellationToken) =>
{
return Task.FromResult(new HttpResponseMessage(HttpStatusCode.OK));
});

Assert.ThrowsAsync<ArgumentNullException>(() => sut.PostAsync("", ""));
await Assert.ThrowsAsync<ArgumentNullException>(() => sut.PostAsync("", ""));
}

[Fact]
public void PostAsync_should_throw_argument_null_exception_if_data_is_null()
public async Task PostAsync_should_throw_argument_null_exception_if_data_is_null()
{
var sut = CreateSut((request, cancellationToken) =>
{
return Task.FromResult(new HttpResponseMessage(HttpStatusCode.OK));
});

Assert.ThrowsAsync<ArgumentNullException>(() => sut.PostAsync<string>("/", null));
await Assert.ThrowsAsync<ArgumentNullException>(() => sut.PostAsync<string>("/", null));
}

[Fact]
Expand All @@ -70,14 +70,14 @@ public async Task PostAsync_should_sanetize_url()
}

[Fact]
public void PutAsync_should_throw_argument_null_exception_if_data_is_null()
public async Task PutAsync_should_throw_argument_null_exception_if_data_is_null()
{
var sut = CreateSut((request, cancellationToken) =>
{
return Task.FromResult(new HttpResponseMessage(HttpStatusCode.OK));
});

Assert.ThrowsAsync<ArgumentNullException>(() => sut.PutAsync<string>("/", null));
await Assert.ThrowsAsync<ArgumentNullException>(() => sut.PutAsync<string>("/", null));
}

[Fact]
Expand All @@ -101,14 +101,14 @@ public async Task PutAsync_should_sanetize_url()


[Fact]
public void PatchAsync_should_throw_argument_null_exception_if_data_is_null()
public async Task PatchAsync_should_throw_argument_null_exception_if_data_is_null()
{
var sut = CreateSut((request, cancellationToken) =>
{
return Task.FromResult(new HttpResponseMessage(HttpStatusCode.OK));
});

Assert.ThrowsAsync<ArgumentNullException>(() => sut.PatchAsync<string>("/", null));
await Assert.ThrowsAsync<ArgumentNullException>(() => sut.PatchAsync<string>("/", null));
}

[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<PackageReference Include="xunit" Version="2.6.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="xunit" Version="2.6.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<PackageReference Include="xunit" Version="2.6.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="xunit" Version="2.6.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<PackageReference Include="xunit" Version="2.6.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="xunit" Version="2.6.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<PackageReference Include="xunit" Version="2.6.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 80558c6

Please sign in to comment.