Leon4gr45 commited on
Commit
6c587da
·
verified ·
1 Parent(s): 8fc9d36

Delete test/plausible/sentry_filter_test.exs with huggingface_hub

Browse files
test/plausible/sentry_filter_test.exs DELETED
@@ -1,36 +0,0 @@
1
- defmodule Plausible.SentryFilterTest do
2
- use ExUnit.Case
3
-
4
- test "enforces fingerprint for ingestion request" do
5
- event =
6
- Sentry.Event.create_event(
7
- message: "oof",
8
- fingerprint: ["to be", " replaced"],
9
- extra: %{request: %Plausible.Ingestion.Request{}}
10
- )
11
-
12
- assert %Sentry.Event{fingerprint: ["ingestion_request"]} =
13
- Plausible.SentryFilter.before_send(event)
14
- end
15
-
16
- test "ignores excess cowboy error messages" do
17
- event = %Sentry.Event{
18
- event_id: "5f0a9f9b04df4050884966c87a4e62b8",
19
- timestamp: "2025-02-19T13:23:05.705493",
20
- extra: %{logger_level: :error, logger_metadata: %{}},
21
- level: :error,
22
- logger: nil,
23
- message: %Sentry.Interfaces.Message{
24
- message: nil,
25
- params: nil,
26
- formatted:
27
- "Ranch listener PlausibleWeb.Endpoint.HTTP, connection process #PID<0.1216.0>, " <>
28
- "stream 1 had its request process #PID<0.1217.0> exit with " <>
29
- "reason {{{%Plug.Parsers.ParseError{\n ..."
30
- },
31
- source: :logger
32
- }
33
-
34
- assert Plausible.SentryFilter.before_send(event) == false
35
- end
36
- end