Skip to content

Commit

Permalink
fix(tests): fixed pipelines config
Browse files Browse the repository at this point in the history
  • Loading branch information
breadrock1 committed Mar 27, 2024
1 parent f7c9d90 commit bbd51e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ jobs:
run: mkdir {indexer,upload}

- name: tests
run: for test_module in $(git ls-files test); do go test -v -count=1 -race $test_module; done
run: for test_module in $(git ls-files tests); do go test -v -count=1 -race $test_module; done

4 changes: 2 additions & 2 deletions tests/ocr/ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ func TestRecognizeFileData(t *testing.T) {

t.Run("Caught error with service denied", func(t *testing.T) {
ocrService := ocr.New(&ocr.Options{
Mode: ocr.GetModeFromString("read-raw-file"),
Address: "http://localhost:3451",
Mode: ocr.GetModeFromString("assistant"),
Address: "http://localhost:4444",
})

e := mocked.CreateMockedServer()
Expand Down

0 comments on commit bbd51e5

Please sign in to comment.