Modify tests to test the actual factory rather than a mock of the factory #55
Annotations
1 error and 8 warnings
Test
Process completed with exit code 1.
|
Build:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs#L56
Dereference of a possibly null reference.
|
Build:
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:
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:
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:
Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs#L56
Dereference of a possibly null reference.
|
Build:
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:
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:
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.
|
Loading