@@ -44,7 +44,7 @@ defmodule Sentry.LoggerBackendTest do
4444
4545 Bypass . expect ( bypass , fn conn ->
4646 { :ok , body , conn } = Plug.Conn . read_body ( conn )
47- json = Poison . decode! ( body )
47+ json = Jason . decode! ( body )
4848
4949 assert List . first ( json [ "exception" ] ) [ "value" ] ==
5050 ~s[ Erlang error: {:bad_return_value, "I am throwing"}]
@@ -72,7 +72,7 @@ defmodule Sentry.LoggerBackendTest do
7272
7373 Bypass . expect ( bypass , fn conn ->
7474 { :ok , body , conn } = Plug.Conn . read_body ( conn )
75- json = Poison . decode! ( body )
75+ json = Jason . decode! ( body )
7676 assert List . first ( json [ "exception" ] ) [ "type" ] == "Elixir.ErlangError"
7777 assert List . first ( json [ "exception" ] ) [ "value" ] == "Erlang error: :bad_exit"
7878 assert conn . request_path == "/api/1/store/"
@@ -98,7 +98,7 @@ defmodule Sentry.LoggerBackendTest do
9898
9999 Bypass . expect ( bypass , fn conn ->
100100 { :ok , body , conn } = Plug.Conn . read_body ( conn )
101- json = Poison . decode! ( body )
101+ json = Jason . decode! ( body )
102102
103103 assert % {
104104 "in_app" => false ,
@@ -131,7 +131,7 @@ defmodule Sentry.LoggerBackendTest do
131131
132132 Bypass . expect ( bypass , fn conn ->
133133 { :ok , body , conn } = Plug.Conn . read_body ( conn )
134- json = Poison . decode! ( body )
134+ json = Jason . decode! ( body )
135135 assert length ( json [ "stacktrace" ] [ "frames" ] ) == 1
136136 assert List . first ( json [ "stacktrace" ] [ "frames" ] ) [ "filename" ] == "test/support/test_plug.ex"
137137 send ( pid , "API called" )
0 commit comments