Skip to content

Commit

Permalink
use dummy server name, not existing one
Browse files Browse the repository at this point in the history
  • Loading branch information
MatousJobanek committed Mar 22, 2024
1 parent 7483946 commit 43a6e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ import (
func TestNewClientOK(t *testing.T) {
// given
t.Cleanup(gock.OffAll)
gock.New("https://example.com").
gock.New("https://some-dummy-example.com").
Get("api").
Persist().
Reply(200).
BodyString("{}")

// when
cl, err := client.NewClientWithTransport("cool-token", "https://example.com", gock.DefaultTransport)
cl, err := client.NewClientWithTransport("cool-token", "https://some-dummy-example.com", gock.DefaultTransport)

// then
require.NoError(t, err)
Expand Down

0 comments on commit 43a6e0e

Please sign in to comment.