Skip to content

Commit

Permalink
Use localhost instead of fake URIs that could go to the internet
Browse files Browse the repository at this point in the history
The tests right now never use this value to send an HTTP request, but in the future a test may, so proactively changes the values to something safer.

See micrometer-metrics#1295
  • Loading branch information
shakuzen committed Mar 20, 2019
1 parent 2965323 commit f5470d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public String apiToken() {

@Override
public String uri() {
return "http://doesnotmatter.com";
return "http://localhost";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public String get(String key) {

@Override
public String uri() {
return "http://uri";
return "http://localhost";
}

@Override
Expand Down

0 comments on commit f5470d7

Please sign in to comment.