Modify tests to test the actual factory rather than a mock of the factory #55
cicd.yml
on: pull_request
build_test_pack
39s
publish
0s
Annotations
1 error and 8 warnings
build_test_pack
Process completed with exit code 1.
|
build_test_pack:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs#L56
Dereference of a possibly null reference.
|
build_test_pack:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs#L101
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build_test_pack:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/ConfigurationStartupValidationTests.cs#L150
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build_test_pack:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/ConfigurationStartupValidationTests.cs#L176
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build_test_pack:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs#L56
Dereference of a possibly null reference.
|
build_test_pack:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs#L101
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build_test_pack:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/ConfigurationStartupValidationTests.cs#L150
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build_test_pack:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/ConfigurationStartupValidationTests.cs#L176
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|