From f59580a961ca53b9b9dfe5de60fd0db6f69ef57d Mon Sep 17 00:00:00 2001 From: miiu Date: Mon, 8 Jul 2024 11:57:29 +0300 Subject: [PATCH] fix unit tests --- mock/databaseWriterStub.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mock/databaseWriterStub.go b/mock/databaseWriterStub.go index 9a41e0ff..1df608a8 100644 --- a/mock/databaseWriterStub.go +++ b/mock/databaseWriterStub.go @@ -14,6 +14,11 @@ type DatabaseWriterStub struct { DoScrollRequestCalled func(index string, body []byte, withSource bool, handlerFunc func(responseBytes []byte) error) error } +// PutMappings - +func (dwm *DatabaseWriterStub) PutMappings(_ string, _ *bytes.Buffer) error { + return nil +} + // UpdateByQuery - func (dwm *DatabaseWriterStub) UpdateByQuery(_ context.Context, _ string, _ *bytes.Buffer) error { return nil