Merged in feature/ecr (pull request #159)
Test * tests * tar * go * tmp * test * go * go * go * config * goup * versioning * order * cleanup * git * smallopts * flags * lessisgood * go * order * ordermatters * order * cc * test
This commit is contained in:
@@ -32,6 +32,8 @@ func (s *Service) GetDocumentText(ctx context.Context, doc documenttypes.File) (
|
||||
|
||||
textPages[index] = text
|
||||
|
||||
slog.Info("extracted page text", "index", index)
|
||||
|
||||
return nil
|
||||
})
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ package documentupload_test
|
||||
|
||||
import (
|
||||
"io"
|
||||
"log"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
@@ -23,6 +24,7 @@ type Config struct {
|
||||
}
|
||||
|
||||
func TestUpload(t *testing.T) {
|
||||
t.Parallel()
|
||||
cfg := &Config{}
|
||||
test.CreateDB(t, cfg)
|
||||
acfg := test.CreateAWSContainer(t, cfg)
|
||||
@@ -42,6 +44,7 @@ func TestUpload(t *testing.T) {
|
||||
ClientID: "client_id",
|
||||
Content: strings.NewReader("abc"),
|
||||
}
|
||||
log.Print("test")
|
||||
|
||||
err = svc.Upload(t.Context(), file)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user