More tests #1109
Annotations
7 errors
Serval.ApiServer.TranslationEngineTests ► AddParallelCorpusToEngineByIdAsync(["update:translation_engines"],201,"e00000000000000000000001"):
src/Serval/test/Serval.ApiServer.IntegrationTests/TranslationEngineTests.cs#L825
Failed test found in:
src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Sequence contains no elements
|
Serval.ApiServer.TranslationEngineTests ► GetAllParallelCorporaForEngineByIdAsync(["update:translation_engines", "create:translation_engines", "read:translation_engines"],200,"e00000000000000000000001"):
src/Serval/test/Serval.ApiServer.IntegrationTests/TranslationEngineTests.cs#L960
Failed test found in:
src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx
Error:
System.InvalidOperationException : Sequence contains no elements
|
Serval.ApiServer.TranslationEngineTests ► GetParallelCorpusByIdForEngineByIdAsync(["update:translation_engines", "read:translation_engines"],200,"e00000000000000000000001",True):
src/Serval/test/Serval.ApiServer.IntegrationTests/TranslationEngineTests.cs#L1004
Failed test found in:
src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx
Error:
System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
|
Serval.ApiServer.TranslationEngineTests ► UpdateParallelCorpusByIdForEngineByIdAsync(["update:translation_engines", "create:translation_engines", "read:translation_engines"],200,"e00000000000000000000001"):
src/Serval/src/Serval.Client/Client.g.cs#L6457
Failed test found in:
src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx
Error:
Serval.Client.ServalApiException : Bad request
Status: 400
Response:
{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"parallelCorpusId":["The parallelCorpusId field is required."]},"traceId":"00-3c9d8b61d416221346ca1fc83f8277a5-49f7ca32cbc4f51f-01"}
|
Serval.ApiServer.TranslationEngineTests ► UpdateParallelCorpusByIdForEngineByIdAsync(["update:translation_engines", "create:translation_engines", "read:translation_engines"],404,"e00000000000000000000001"):
src/Serval/test/Serval.ApiServer.IntegrationTests/TranslationEngineTests.cs#L922
Failed test found in:
src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx
src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx
Error:
Assert.That(ex?.StatusCode, Is.EqualTo(expectedStatusCode))
Expected: 404
But was: 400
|
Build
Failed test were found and 'fail-on-error' option is set to true
|
Build
Process completed with exit code 1.
|