Adapts the tests and fixtures to the refactored domain and persistence layers

This commit is contained in:
BinaryAlley committed 2026-09-20 01:35:14 +03:00
1 parent e6f0c63feb
commit ef913f5c9e
99 files changed
+612 -171

No files matched your search

@@ -272,12 +272,12 @@ public class StubApiHttpClient : IApiHttpClient
/// </summary>
/// <typeparam name="TResponse">The expected type of the response content.</typeparam>
/// <param name="endpoint">The API endpoint where the request is being sent.</param>
/// <param name="fileStream">The stream of the file to upload.</param>
/// <param name="fileName">The name of the file to upload.</param>
/// <param name="fileStream">The stream of the file to upload, or <see langword="null"/> when no file is uploaded.</param>
/// <param name="fileName">The name of the file to upload, or <see langword="null"/> when no file is uploaded.</param>
/// <param name="fieldName">The name of the form field carrying the file.</param>
/// <param name="cancellationToken">Cancellation token that can be used to stop the execution.</param>
/// <returns>The deserialized response containing the result of the PUT request.</returns>
public Task<TResponse> PutMultipartAsync<TResponse>(string endpoint, Stream fileStream, string fileName, string fieldName, CancellationToken cancellationToken = default)
public Task<TResponse> PutMultipartAsync<TResponse>(string endpoint, Stream? fileStream, string? fileName, string fieldName, CancellationToken cancellationToken = default)
{
PutRequests.Add((endpoint, fileName));
if (_putResponseFactories.TryGetValue(endpoint, out Func<object, object>? responseFactory))