Skip to content

add test

add test #23

Triggered via push May 19, 2026 15:24
Status Failure
Total duration 49s
Artifacts –

dotnet.yml

on: push
Matrix: build-and-test
Build and push Docker image
Build and push Docker image
Deploy to Oracle VPS
Deploy to Oracle VPS
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 12 warnings
TableMasterApi.Tests.Integration.RefreshTokenIntegrationTests ► DeleteRefreshToken_RemovesOnlyMatchingRow: TableMasterApi.Tests/Integration/RefreshTokenIntegrationTests.cs#L85
Failed test found in: TableMasterApi.Tests/TestResults/test-results.trx Error: Did not expect a value, but found 0L.
TableMasterApi.Tests.Integration.RefreshTokenIntegrationTests ► GetUserIdByRefreshToken_ReturnsNull_ForExpiredToken: TableMasterApi.Tests/Integration/RefreshTokenIntegrationTests.cs#L61
Failed test found in: TableMasterApi.Tests/TestResults/test-results.trx Error: Did not expect a value because un refresh token expire ne doit jamais authentifier, but found 0L.
build-and-test (10.0.x)
Failed test were found and 'fail-on-error' option is set to true
build-and-test (10.0.x)
Process completed with exit code 1.
build-and-test (10.0.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4, dorny/test-reporter@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-and-test (10.0.x): TableMasterApi/Model/Restaurant.cs#L16
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test (10.0.x): TableMasterApi/Model/Restaurant.cs#L15
Non-nullable property 'PaymentMethods' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test (10.0.x): TableMasterApi/Model/Restaurant.cs#L14
Non-nullable property 'CuisineType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test (10.0.x): TableMasterApi/Model/Restaurant.cs#L13
Non-nullable property 'Phone' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test (10.0.x): TableMasterApi/Model/Restaurant.cs#L10
Non-nullable property 'City' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test (10.0.x): TableMasterApi/Model/Restaurant.cs#L9
Non-nullable property 'PostalCode' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test (10.0.x): TableMasterApi/Model/Restaurant.cs#L8
Non-nullable property 'StreetName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test (10.0.x): TableMasterApi/Model/Restaurant.cs#L7
Non-nullable property 'StreetNumber' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test (10.0.x): TableMasterApi/Model/Restaurant.cs#L6
Non-nullable property 'RestaurantName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test (10.0.x): TableMasterApi/Controllers/TableController.cs#L38
The result of the expression is always 'false' since a value of type 'long' is never equal to 'null' of type 'long?'
build-and-test (10.0.x)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']