Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

fix: product upload img issue #91

fix: product upload img issue

fix: product upload img issue #91

Triggered via push June 6, 2024 03:29
Status Failure
Total duration 4m 10s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 12 warnings
ubuntu-latest
[xUnit.net 00:00:05.75] RookieShop.FunctionalTests.ApiService.ProductsEndpointTest.GetProducts_ShouldBeOkStatusCode [FAIL]
ubuntu-latest
[xUnit.net 00:00:07.10] RookieShop.FunctionalTests.ApiService.ProductsEndpointTest.GiveUnknownId_GetProducts_ShouldBeNotFoundStatusCode [FAIL]
ubuntu-latest
[xUnit.net 00:00:14.76] RookieShop.FunctionalTests.ApiService.CategoriesEndpointTest.GiveUnknownId_GetCategories_ShouldBeNotFoundStatusCode [FAIL]
ubuntu-latest
[xUnit.net 00:00:16.80] RookieShop.FunctionalTests.ApiService.CategoriesEndpointTest.GetCategories_ShouldBeOkStatusCode [FAIL]
ubuntu-latest
[xUnit.net 00:00:19.27] RookieShop.FunctionalTests.ApiService.CategoriesEndpointTest.GiveNullDataAndUnAuthorize_PostCategories_ShouldBeUnauthorizedStatusCode [FAIL]
ubuntu-latest
Target "TestWithCoverage" has thrown an exception
ubuntu-latest
Process completed with exit code 255.
ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/User/Models/CustomerRequest.cs(30,19): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/User/Models/CustomerViewModel.cs(10,17): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/User/Models/CustomerRequest.cs(35,17): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/Basket/Models/BasketRequest.cs(12,17): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/Order/Models/OrderRequest.cs(11,26): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/Order/Models/OrderRequest.cs(55,17): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/Product/Models/Feedbacks/FeedbackRequest.cs(19,17): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/User/Models/CustomerRequest.cs(30,19): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/User/Models/CustomerViewModel.cs(10,17): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]
ubuntu-latest
/home/runner/work/RookieShop/RookieShop/ui/storefront/Areas/User/Models/CustomerRequest.cs(35,17): warning S6964: Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964) [/home/runner/work/RookieShop/RookieShop/ui/storefront/RookieShop.Storefront.csproj]