Merged in feature/textextract (pull request #108)
Start adding Textract + UUID changes * base * startclient * ts * short * tests
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"queryorchestration/internal/database"
|
||||
"queryorchestration/internal/database/repository"
|
||||
"queryorchestration/internal/document"
|
||||
"queryorchestration/internal/serviceconfig"
|
||||
@@ -37,7 +36,7 @@ func TestListByClientId(t *testing.T) {
|
||||
pool.ExpectQuery("name: ListDocumentsByClientExternalId :many").WithArgs(clientId).
|
||||
WillReturnRows(
|
||||
pgxmock.NewRows([]string{"id", "hash"}).
|
||||
AddRow(database.MustToDBUUID(doc[0].ID), doc[0].Hash),
|
||||
AddRow(doc[0].ID, doc[0].Hash),
|
||||
)
|
||||
|
||||
adoc, err := svc.ListByClientExternalId(ctx, clientId)
|
||||
|
||||
Reference in New Issue
Block a user