Added test report, to show broken tests, and then fixed the tests #34
Annotations
2 errors
Infrastructure.WebApi.Common.IntegrationTests.TestingWebApiSpec ► WhenPostWithDifferentDataTypesForXml_ThenReturnsValues:
src/Infrastructure.WebApi.Common.IntegrationTests/TestingWebApiSpec.cs#L256
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az252-119_2023-09-27_02_23_13.trx
Error:
Expected string to be "<?xml version="1.0" encoding="utf-8"?><DataTypesTestingOnlyResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Custom><Double>91.1</Double><Enum>TwentyOne</Enum><Integer>91</Integer><String>avalue2</String><Time>2023-09-27T03:23:13.6427590Z</Time></Custom><Double>99.9</Double><Enum>OneHundredAndOne</Enum><Integer>9</Integer><String>avalue1</String><Time>2023-09-27T02:23:13.6427590Z</Time></DataTypesTestingOnlyResponse>" with a length of 479, but "<?xml version="1.0" encoding="utf-8"?><DataTypesTestingOnlyResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Custom><Double>91.1</Double><Enum>TwentyOne</Enum><Integer>91</Integer><String>avalue2</String><Time>2023-09-27T03:23:13.642759Z</Time></Custom><Double>99.9</Double><Enum>OneHundredAndOne</Enum><Integer>9</Integer><String>avalue1</String><Time>2023-09-27T02:23:13.642759Z</Time></DataTypesTestingOnlyResponse>" has a length of 477, differs near "Z</" (index 295).
|
build-test
Process completed with exit code 1.
|