Skip to content

Commit

Permalink
test(oracle): fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienaury committed Jun 4, 2024
1 parent dae9a49 commit 2f3b8a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/app/urlbuilder/urlbuilder_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package urlbuilder

import (
"strings"
"testing"

"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -31,7 +32,7 @@ func TestBuildOracleURL(t *testing.T) {
t.Errorf("parse return error : %v", err)
}

assert.Equal(t, tt.want, url.DSN)
assert.Equal(t, tt.want, strings.ReplaceAll(strings.ReplaceAll(url.DSN, "TIMEOUT=0&", ""), "&TIMEOUT=0", ""))
})
}
}

0 comments on commit 2f3b8a9

Please sign in to comment.