test(pos): реализовать QuickCreateProductAsync в FakeServer

Интерфейс IServerApi получил QuickCreateProductAsync, но тестовый FakeServer его
не реализовывал → проект food-market.UnitTests не компилировался (все юнит-тесты
не запускались). Добавил стаб как у остальных методов.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
nns 2026-10-09 09:58:34 +05:00
parent 9dc8f6e044
commit 1324ffd04f

View file

@ -300,6 +300,7 @@ public Task<PosSaleBatchResponse> AcceptSalesAsync(PosSaleBatchDto batch, Cancel
}); });
} }
public Task<QuickCreatedProductDto> QuickCreateProductAsync(QuickCreateProductBody body, CancellationToken ct = default) => throw new NotImplementedException();
public Task<PosVersionDto> VersionAsync(CancellationToken ct = default) => throw new NotImplementedException(); public Task<PosVersionDto> VersionAsync(CancellationToken ct = default) => throw new NotImplementedException();
public Task<PosReturnLookupDto> ReturnLookupAsync(string number, CancellationToken ct = default) => throw new NotImplementedException(); public Task<PosReturnLookupDto> ReturnLookupAsync(string number, CancellationToken ct = default) => throw new NotImplementedException();
public Task<PosSyncResponse> SyncAsync(DateTime? since, CancellationToken ct = default) => throw new NotImplementedException(); public Task<PosSyncResponse> SyncAsync(DateTime? since, CancellationToken ct = default) => throw new NotImplementedException();