Skip to content

Modify tests to test the actual factory rather than a mock of the factory #55

Modify tests to test the actual factory rather than a mock of the factory

Modify tests to test the actual factory rather than a mock of the factory #55

Triggered via pull request November 6, 2024 17:25
Status Failure
Total duration 50s
Artifacts

cicd.yml

on: pull_request
build_test_pack
39s
build_test_pack
publish
0s
publish
Fit to window
Zoom out
Zoom in

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#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#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.