Skip to content

update test locations #644

update test locations

update test locations #644

Triggered via push January 21, 2025 15:33
Status Failure
Total duration 1m 31s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 43 warnings
unit-tests: UnitTest/Test_Location.cs#L84
The non-generic method 'BaseStorageService<Location>.GetRow(int)' cannot be used with type arguments
unit-tests: UnitTest/ItemStorageTests.cs#L99
'ItemStorageService' does not contain a definition for 'ValidateItems' and no accessible extension method 'ValidateItems' accepting a first argument of type 'ItemStorageService' could be found (are you missing a using directive or an assembly reference?)
unit-tests: UnitTest/ItemStorageTests.cs#L113
'ItemStorageService' does not contain a definition for 'ValidateItems' and no accessible extension method 'ValidateItems' accepting a first argument of type 'ItemStorageService' could be found (are you missing a using directive or an assembly reference?)
unit-tests: UnitTest/ItemStorageTests.cs#L114
'ItemStorageService' does not contain a definition for 'ValidateItems' and no accessible extension method 'ValidateItems' accepting a first argument of type 'ItemStorageService' could be found (are you missing a using directive or an assembly reference?)
unit-tests: UnitTest/ItemStorageTests.cs#L115
'ItemStorageService' does not contain a definition for 'ValidateItems' and no accessible extension method 'ValidateItems' accepting a first argument of type 'ItemStorageService' could be found (are you missing a using directive or an assembly reference?)
unit-tests: UnitTest/ItemStorageTests.cs#L116
'ItemStorageService' does not contain a definition for 'ValidateItems' and no accessible extension method 'ValidateItems' accepting a first argument of type 'ItemStorageService' could be found (are you missing a using directive or an assembly reference?)
unit-tests: UnitTest/Test_OrdersU.cs#L599
Cannot implicitly convert type 'System.Collections.Generic.List<int?>' to 'System.Collections.Generic.List<int>'
unit-tests: UnitTest/Test_OrdersU.cs#L790
Cannot implicitly convert type 'System.Collections.Generic.List<int?>' to 'System.Collections.Generic.List<int>'
unit-tests: UnitTest/Test_OrdersU.cs#L892
Cannot implicitly convert type 'System.Collections.Generic.List<int?>' to 'System.Collections.Generic.List<int>'
unit-tests: UnitTest/Test_OrdersU.cs#L893
Cannot implicitly convert type 'System.Collections.Generic.List<int?>' to 'System.Collections.Generic.List<int>'
integration-tests
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
build: CargoHub/Models/Warehouse.cs#L66
'Warehouse.CreatedAt' hides inherited member 'BaseModel.CreatedAt'. Use the new keyword if hiding was intended.
build: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'BaseStorageService<Warehouse> storage' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build: CargoHub/Controllers/TransfersController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
build: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
build: CargoHub/Services/ShipmentService.cs#L22
Argument of type 'IIncludableQueryable<Shipment, List<Order>?>' cannot be used for parameter 'source' of type 'IIncludableQueryable<Shipment, IEnumerable<Order>>' in 'IIncludableQueryable<Shipment, List<OrderItem>?> EntityFrameworkQueryableExtensions.ThenInclude<Shipment, Order, List<OrderItem>?>(IIncludableQueryable<Shipment, IEnumerable<Order>> source, Expression<Func<Order, List<OrderItem>?>> navigationPropertyPath)' due to differences in the nullability of reference types.
build: CargoHub/Services/ShipmentService.cs#L22
Argument of type 'IIncludableQueryable<Shipment, List<OrderItem>?>' cannot be used for parameter 'source' of type 'IIncludableQueryable<Shipment, IEnumerable<OrderItem>>' in 'IIncludableQueryable<Shipment, Item?> EntityFrameworkQueryableExtensions.ThenInclude<Shipment, OrderItem, Item?>(IIncludableQueryable<Shipment, IEnumerable<OrderItem>> source, Expression<Func<OrderItem, Item?>> navigationPropertyPath)' due to differences in the nullability of reference types.
build: CargoHub/Services/ShipmentService.cs#L32
Possible null reference assignment.
unit-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
unit-tests: CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
unit-tests: CargoHub/Models/Warehouse.cs#L66
'Warehouse.CreatedAt' hides inherited member 'BaseModel.CreatedAt'. Use the new keyword if hiding was intended.
unit-tests: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'BaseStorageService<Warehouse> storage' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
unit-tests: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
unit-tests: CargoHub/Controllers/TransfersController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
unit-tests: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
unit-tests: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
unit-tests: CargoHub/Services/ShipmentService.cs#L22
Argument of type 'IIncludableQueryable<Shipment, List<Order>?>' cannot be used for parameter 'source' of type 'IIncludableQueryable<Shipment, IEnumerable<Order>>' in 'IIncludableQueryable<Shipment, List<OrderItem>?> EntityFrameworkQueryableExtensions.ThenInclude<Shipment, Order, List<OrderItem>?>(IIncludableQueryable<Shipment, IEnumerable<Order>> source, Expression<Func<Order, List<OrderItem>?>> navigationPropertyPath)' due to differences in the nullability of reference types.
unit-tests: CargoHub/Services/ShipmentService.cs#L22
Argument of type 'IIncludableQueryable<Shipment, List<OrderItem>?>' cannot be used for parameter 'source' of type 'IIncludableQueryable<Shipment, IEnumerable<OrderItem>>' in 'IIncludableQueryable<Shipment, Item?> EntityFrameworkQueryableExtensions.ThenInclude<Shipment, OrderItem, Item?>(IIncludableQueryable<Shipment, IEnumerable<OrderItem>> source, Expression<Func<OrderItem, Item?>> navigationPropertyPath)' due to differences in the nullability of reference types.
unit-tests: CargoHub/Services/ShipmentService.cs#L32
Possible null reference assignment.
unit-tests: UnitTest/Test_APIKey.cs#L74
Converting null literal or possible null value to non-nullable type.
unit-tests: UnitTest/Test_APIKey.cs#L107
Converting null literal or possible null value to non-nullable type.
unit-tests: UnitTest/Test_APIKey.cs#L127
Converting null literal or possible null value to non-nullable type.
unit-tests: UnitTest/Test_APIKey.cs#L19
Non-nullable field '_dbContext' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/Test_APIKey.cs#L20
Non-nullable field 'APIKeyController' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/Test_APIKey.cs#L21
Non-nullable field 'APIKeyService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/SupplierServiceTests.cs#L140
Dereference of a possibly null reference.
unit-tests: UnitTest/SupplierServiceTests.cs#L14
Non-nullable field '_context' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/SupplierServiceTests.cs#L15
Non-nullable field '_service' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
unit-tests: UnitTest/TransferServiceTests.cs#L90
Dereference of a possibly null reference.
integration-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
integration-tests: CargoHub/Models/APIKey.cs#L9
'APIKey.Id' hides inherited member 'BaseModel.Id'. Use the new keyword if hiding was intended.
integration-tests: CargoHub/Models/Warehouse.cs#L66
'Warehouse.CreatedAt' hides inherited member 'BaseModel.CreatedAt'. Use the new keyword if hiding was intended.
integration-tests: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'BaseStorageService<Warehouse> storage' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
integration-tests: CargoHub/Controllers/WarehousesController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
integration-tests: CargoHub/Controllers/TransfersController.cs#L10
Parameter 'ErrorHandler error' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
integration-tests: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
integration-tests: CargoHub/Controllers/TransfersController.cs#L29
Dereference of a possibly null reference.
integration-tests: CargoHub/Models/Transfer.cs#L40
Non-nullable property 'ItemId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-tests: CargoHub/Services/ShipmentService.cs#L22
Argument of type 'IIncludableQueryable<Shipment, List<Order>?>' cannot be used for parameter 'source' of type 'IIncludableQueryable<Shipment, IEnumerable<Order>>' in 'IIncludableQueryable<Shipment, List<OrderItem>?> EntityFrameworkQueryableExtensions.ThenInclude<Shipment, Order, List<OrderItem>?>(IIncludableQueryable<Shipment, IEnumerable<Order>> source, Expression<Func<Order, List<OrderItem>?>> navigationPropertyPath)' due to differences in the nullability of reference types.
integration-tests: CargoHub/Services/ShipmentService.cs#L22
Argument of type 'IIncludableQueryable<Shipment, List<OrderItem>?>' cannot be used for parameter 'source' of type 'IIncludableQueryable<Shipment, IEnumerable<OrderItem>>' in 'IIncludableQueryable<Shipment, Item?> EntityFrameworkQueryableExtensions.ThenInclude<Shipment, OrderItem, Item?>(IIncludableQueryable<Shipment, IEnumerable<OrderItem>> source, Expression<Func<OrderItem, Item?>> navigationPropertyPath)' due to differences in the nullability of reference types.