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

Bump Microsoft.AspNetCore.Components.Authorization from 9.0.0 to 9.0.1 #131

Merged
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
Bump Microsoft.AspNetCore.Components.Authorization from 9.0.0 to 9.0.1
Bumps [Microsoft.AspNetCore.Components.Authorization](https://github.com/dotnet/aspnetcore) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.Authorization
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] authored Jan 15, 2025
commit 271ff894bcb66cb8d97f740ebcce5ecc57ded3f2
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<PackageVersion Include="FastEndpoints" Version="5.33.0" />
<PackageVersion Include="FluentValidation" Version="11.11.0" />
<PackageVersion Include="MediatR" Version="12.4.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Authorization" Version="9.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Components.Authorization" Version="9.0.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="9.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" PrivateAssets="all" />

Unchanged files with check annotations Beta

{
}
protected EmptyBasketOnCheckoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)

Check warning on line 12 in src/ApplicationCore/Exceptions/EmptyBasketOnCheckoutException.cs

GitHub Actions / build

'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)

Check warning on line 12 in src/ApplicationCore/Exceptions/EmptyBasketOnCheckoutException.cs

GitHub Actions / build

'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)

Check warning on line 12 in src/ApplicationCore/Exceptions/EmptyBasketOnCheckoutException.cs

GitHub Actions / build

'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)

Check warning on line 12 in src/ApplicationCore/Exceptions/EmptyBasketOnCheckoutException.cs

GitHub Actions / build

'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
{
}
Assert.NotNull(result);
Assert.NotNull(result.OrderItems);
Assert.Equal(1, result.OrderItems.Count);

Check warning on line 22 in tests/UnitTests/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 22 in tests/UnitTests/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 22 in tests/UnitTests/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 22 in tests/UnitTests/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Assert.NotNull(result.OrderItems.FirstOrDefault()?.ItemOrdered);
}
Assert.NotNull(result);
Assert.Equal(2, result.Count);
Assert.Equal(1, result[0].OrderItems.Count);

Check warning on line 35 in tests/UnitTests/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 35 in tests/UnitTests/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 35 in tests/UnitTests/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 35 in tests/UnitTests/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Assert.NotNull(result[0].OrderItems.FirstOrDefault()?.ItemOrdered);
Assert.Equal(2, result[1].OrderItems.Count);
Assert.NotNull(result[1].OrderItems.ToList()[0].ItemOrdered);
basket.AddItem(_testCatalogItemId, _testUnitPrice, 0);
basket.RemoveEmptyItems();
Assert.Equal(0, basket.Items.Count);

Check warning on line 19 in tests/UnitTests/ApplicationCore/Entities/BasketTests/BasketRemoveEmptyItems.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 19 in tests/UnitTests/ApplicationCore/Entities/BasketTests/BasketRemoveEmptyItems.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 19 in tests/UnitTests/ApplicationCore/Entities/BasketTests/BasketRemoveEmptyItems.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 19 in tests/UnitTests/ApplicationCore/Entities/BasketTests/BasketRemoveEmptyItems.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
}
}
await basketService.SetQuantities(BasketBuilder.BasketId, new Dictionary<string, int>() { { BasketBuilder.BasketId.ToString(), 0 } });
Assert.Equal(0, basket.Items.Count);

Check warning on line 38 in tests/IntegrationTests/Repositories/BasketRepositoryTests/SetQuantities.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 38 in tests/IntegrationTests/Repositories/BasketRepositoryTests/SetQuantities.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 38 in tests/IntegrationTests/Repositories/BasketRepositoryTests/SetQuantities.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)

Check warning on line 38 in tests/IntegrationTests/Repositories/BasketRepositoryTests/SetQuantities.cs

GitHub Actions / build

Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
}
}