Skip to content

Commit

Permalink
fix: edit test urls
Browse files Browse the repository at this point in the history
  • Loading branch information
RawanMostafa08 committed Sep 22, 2024
1 parent e61a479 commit 775c973
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestRetrySendRequest(t *testing.T) {
}{
{
name: "correct configs, gin, plain text",
baseUrl: "http://ginserver",
baseUrl: "http://localhost",
endpoint: "/datetime",
port: "8083",
contentType: "text/plain",
Expand All @@ -59,7 +59,7 @@ func TestRetrySendRequest(t *testing.T) {
},
{
name: "correct configs, gin, json",
baseUrl: "http://ginserver",
baseUrl: "http://localhost",
endpoint: "/datetime",
port: "8080",
contentType: "application/json",
Expand All @@ -68,7 +68,7 @@ func TestRetrySendRequest(t *testing.T) {
},
{
name: "correct configs, http, plain text",
baseUrl: "http://httpserver",
baseUrl: "http://localhost",
endpoint: "/datetime",
port: "8080",
contentType: "text/plain",
Expand All @@ -77,7 +77,7 @@ func TestRetrySendRequest(t *testing.T) {
},
{
name: "correct configs, http, json",
baseUrl: "http://httpserver",
baseUrl: "http://localhost",
endpoint: "/datetime",
port: "8083",
contentType: "application/json",
Expand All @@ -86,7 +86,7 @@ func TestRetrySendRequest(t *testing.T) {
},
{
name: "unsupported content type",
baseUrl: "http://ginserver",
baseUrl: "http://localhost",
endpoint: "/datetime",
port: "8083",
contentType: "text/javascript; charset=utf-8",
Expand Down

0 comments on commit 775c973

Please sign in to comment.