Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eparker-tulip committed Jul 1, 2024
1 parent e1cdcb8 commit dbdbfd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func TestParseEnv(t *testing.T) {

if !envTest.expectError && err != nil {
t.Fatalf(
"Recevied unexpected error while parsing env: %#v.\n Error was: %s",
"Received unexpected error while parsing env: %#v.\n Error was: %s",
envTest.env, err,
)
}
Expand Down
2 changes: 2 additions & 0 deletions scripts/runUnitTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
set -e
cd `dirname "$0"`'/..'

export OTR_REDIS_URL=redis://yyy
export OTR_MONGO_URL=redis://xxx
go test -race -cover -timeout 5s . ./lib/...

0 comments on commit dbdbfd3

Please sign in to comment.