Skip to content

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

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

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

cicd.yml

on: pull_request
build_test_pack
37s
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/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.
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.