Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyYe committed Oct 13, 2023
1 parent f91f205 commit 30ba7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lib/ip_helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

func TestGetCurrentIP(t *testing.T) {
conf := &settings.Settings{IPUrls: []string{"https://myip.biturl.top", "https://ip4.seeip.org"}}
conf := &settings.Settings{IPUrls: []string{"https://myip.biturl.top"}}
helper := NewIPHelper(conf)
ip := helper.GetCurrentIP()

Expand Down

0 comments on commit 30ba7cc

Please sign in to comment.