Merged in feature/tests (pull request #117)
Feature/tests * improvetests * generation * simplifiedtesting * simplifiedtesting * longfile
This commit is contained in:
@@ -3,6 +3,7 @@ package documenttext
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
"os"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
@@ -49,8 +50,9 @@ func TestExecuteExtract(t *testing.T) {
|
||||
EntityID: cleanId,
|
||||
}
|
||||
keyStr := key.String()
|
||||
textractFile := "../../../assets/sampleGeneration/generated/helloWorld.gen"
|
||||
textractBaseOut := getTextractFileResponse(t, textractFile)
|
||||
root, err := os.OpenRoot("../../../assets")
|
||||
require.NoError(t, err)
|
||||
textractBaseOut := getTextractFileResponse(t, "sampleGeneration/generated/helloWorld.gen", root)
|
||||
|
||||
mimetype := repository.NullCleanmimetype{
|
||||
Valid: true,
|
||||
|
||||
Reference in New Issue
Block a user