Bump xunit from 2.9.0 to 2.9.3 #18879
Triggered via pull request
February 12, 2025 16:54
Status
Failure
Total duration
23m 41s
Artifacts
–
Annotations
10 errors
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Web.UnitTests/StartupTests.cs#L156
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
|
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Web.UnitTests/StartupTests.cs#L107
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
|
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Resources/Create/CreateResourceValidatorTests.cs#L70
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
|
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Resources/Create/CreateResourceValidatorTests.cs#L71
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
|
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Resources/Create/CreateResourceValidatorTests.cs#L72
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
|
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Resources/MemberMatch/MemberMatchResourceValidatorTests.cs#L58
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
|
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Resources/MemberMatch/MemberMatchResourceValidatorTests.cs#L97
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
|
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Resources/MemberMatch/MemberMatchResourceValidatorTests.cs#L98
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
|
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Search/SearchParameters/SearchParameterDefinitionManagerTests.cs#L548
Do not use a Where clause to filter before calling Assert.Single. Use the overload of Assert.Single that accepts a filtering function. (https://xunit.net/xunit.analyzers/rules/xUnit2031)
|
CodeQL-Build (csharp):
src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Resources/Create/CreateResourceValidatorTests.cs#L70
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
|