Skip to content

Commit

Permalink
fix again again
Browse files Browse the repository at this point in the history
  • Loading branch information
cpiemontese committed Oct 10, 2024
1 parent 746baf0 commit 6f93248
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/telepoison_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@ defmodule TelepoisonTest do
attributes = elem(attributes_record, 4)

assert [
"http.method",
"http.request.method",
"http.response.status_code",
"http.status_code",
"http.url",
"net.peer.name",
"server.address",
"server.port",
"url.full",
Expand Down Expand Up @@ -74,11 +70,10 @@ defmodule TelepoisonTest do
assert "atom" in Enum.map(headers, &elem(&1, 0))
end

test "http.url and url.full don't contain credentials" do
test "url.full don't contain credentials" do
Telepoison.get!("http://user:pass@localhost:8000/user/edit/24")

assert_receive {:span, span(attributes: attributes)}, 1000
assert confirm_attributes(attributes, {"http.url", "http://localhost:8000/user/edit/24"})
assert confirm_attributes(attributes, {"url.full", "http://localhost:8000/user/edit/24"})
end
end
Expand Down

0 comments on commit 6f93248

Please sign in to comment.