Skip to content

ci: refactoring ci #382

ci: refactoring ci

ci: refactoring ci #382

GitHub Actions / Test Results failed Sep 3, 2024 in 0s

1 fail in 0s

1 tests   0 ✅  0s ⏱️
6 suites  0 💤
6 files    1 ❌

Results for commit 4773337.

Annotations

Check warning on line 0 in FoodDelivery.Services.Catalogs.IntegrationTests.UnitTest1

See this annotation in the file changed.

@github-actions github-actions / Test Results

Test1 (FoodDelivery.Services.Catalogs.IntegrationTests.UnitTest1) failed

tests/Services/Catalogs/FoodDelivery.Services.Catalogs.IntegrationTests/TestResults/test-results.trx [took 0s]
Raw output
BuildingBlocks.Core.Exception.Types.ValidationException : The value of 'color' cannot be the default value of 'ProductColor' enum.   at BuildingBlocks.Core.Extensions.ValidationExtensions.NotBeEmpty[TEnum](TEnum enumValue, String argumentName) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/src/BuildingBlocks/BuildingBlocks.Core/Extensions/ValidationExtensions.cs:line 294
   at FoodDelivery.Services.Catalogs.Products.Models.Product.ChangeProductDetail(Name name, ProductStatus status, ProductType productType, Dimensions dimensions, Size size, ProductColor color, ProductInformation productInformation, String description) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/src/Services/Catalogs/FoodDelivery.Services.Catalogs/Products/Models/Product.cs:line 152
   at FoodDelivery.Services.Catalogs.Products.Models.Product.Create(ProductId id, Name name, ProductInformation productInformation, Stock stock, ProductStatus status, ProductType type, Dimensions dimensions, Size size, ProductColor color, String description, Price price, CategoryId categoryId, SupplierId supplierId, BrandId brandId, AggregateFuncOperation`2 categoryChecker, ISupplierChecker supplierChecker, IBrandChecker brandChecker, IList`1 images) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/src/Services/Catalogs/FoodDelivery.Services.Catalogs/Products/Models/Product.cs:line 92
   at FoodDelivery.Services.Catalogs.IntegrationTests.UnitTest1.<>c__DisplayClass0_0.<Test1>b__0(Faker faker) in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Services/Catalogs/FoodDelivery.Services.Catalogs.IntegrationTests/UnitTest1.cs:line 37
   at Bogus.Faker`1.Generate(String ruleSets)
   at Bogus.Faker`1.<>c__DisplayClass51_0.<Generate>b__0(Int32 i)
   at System.Linq.Enumerable.SelectRangeIterator`1.Fill(Span`1 results, Int32 start, Func`2 func)
   at System.Linq.Enumerable.SelectRangeIterator`1.ToList()
   at Bogus.Faker`1.Generate(Int32 count, String ruleSets)
   at FoodDelivery.Services.Catalogs.IntegrationTests.UnitTest1.Test1() in /home/runner/work/food-delivery-microservices/food-delivery-microservices/tests/Services/Catalogs/FoodDelivery.Services.Catalogs.IntegrationTests/UnitTest1.cs:line 36
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)