Merged in feature/textextract (pull request #108)
Start adding Textract + UUID changes * base * startclient * ts * short * tests
This commit is contained in:
@@ -19,7 +19,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
test.SetCfgProviderWithBasePath(t, cfg, "../../..")
|
||||
test.SetCfgProvider(t, cfg)
|
||||
_, cleanup := test.CreateDB(t, ctx, &test.CreateDatabaseConfig{
|
||||
Cfg: cfg,
|
||||
RunMigrations: true,
|
||||
@@ -126,7 +126,7 @@ func TestDocument(t *testing.T) {
|
||||
Hash: hash,
|
||||
}, doc)
|
||||
|
||||
docext, err := queries.GetDocumentExternal(ctx, id)
|
||||
docext, err := queries.GetDocumentExternal(ctx, &id)
|
||||
require.NoError(t, err)
|
||||
assert.EqualExportedValues(t, &repository.GetDocumentExternalRow{
|
||||
ID: id,
|
||||
|
||||
Reference in New Issue
Block a user