From 8788483119d310ab532cf6dbcd51cf60163bc41f Mon Sep 17 00:00:00 2001 From: Philip Medlin Date: Wed, 13 Mar 2024 13:08:09 -0600 Subject: [PATCH] Update tests for v2.0 --- .../jason_only_app/test/jason_only_app_test.exs | 4 ++-- .../poison_only_app/test/poison_only_app_test.exs | 4 ++-- test/airbrake/payload_test.exs | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/integration_test_apps/jason_only_app/test/jason_only_app_test.exs b/integration_test_apps/jason_only_app/test/jason_only_app_test.exs index de1fab7..42e73d2 100644 --- a/integration_test_apps/jason_only_app/test/jason_only_app_test.exs +++ b/integration_test_apps/jason_only_app/test/jason_only_app_test.exs @@ -39,7 +39,7 @@ defmodule JasonOnlyAppTest do "notifier" => %{ "name" => "Airbrake Client", "url" => "https://github.com/CityBaseInc/airbrake_client", - "version" => "1.0.0" + "version" => "2.0.0" }, "params" => nil, "session" => nil @@ -88,7 +88,7 @@ defmodule JasonOnlyAppTest do "notifier" => %{ "name" => "Airbrake Client", "url" => "https://github.com/CityBaseInc/airbrake_client", - "version" => "1.0.0" + "version" => "2.0.0" }, "params" => %{"foo" => 55}, "session" => %{"foo" => 555} diff --git a/integration_test_apps/poison_only_app/test/poison_only_app_test.exs b/integration_test_apps/poison_only_app/test/poison_only_app_test.exs index 56c0e8b..2865e89 100644 --- a/integration_test_apps/poison_only_app/test/poison_only_app_test.exs +++ b/integration_test_apps/poison_only_app/test/poison_only_app_test.exs @@ -40,7 +40,7 @@ defmodule PoisonOnlyAppTest do "notifier" => %{ "name" => "Airbrake Client", "url" => "https://github.com/CityBaseInc/airbrake_client", - "version" => "1.0.0" + "version" => "2.0.0" }, "params" => nil, "session" => nil @@ -89,7 +89,7 @@ defmodule PoisonOnlyAppTest do "notifier" => %{ "name" => "Airbrake Client", "url" => "https://github.com/CityBaseInc/airbrake_client", - "version" => "1.0.0" + "version" => "2.0.0" }, "params" => %{"foo" => 55}, "session" => %{"foo" => 555} diff --git a/test/airbrake/payload_test.exs b/test/airbrake/payload_test.exs index 53cd996..6fd94f4 100644 --- a/test/airbrake/payload_test.exs +++ b/test/airbrake/payload_test.exs @@ -48,7 +48,7 @@ defmodule Airbrake.PayloadTest do notifier: %{ name: "Airbrake Client", url: "https://github.com/CityBaseInc/airbrake_client", - version: "1.0.0" + version: "2.0.0" } } = Payload.new(exception, stacktrace) end @@ -105,7 +105,7 @@ defmodule Airbrake.PayloadTest do notifier: %{ name: "Airbrake Client", url: "https://github.com/CityBaseInc/airbrake_client", - version: "1.0.0" + version: "2.0.0" } } = Payload.new(@exception, @stacktrace) end @@ -197,7 +197,7 @@ defmodule Airbrake.PayloadTest do "notifier" => %{ "name" => "Airbrake Client", "url" => "https://github.com/CityBaseInc/airbrake_client", - "version" => "1.0.0" + "version" => "2.0.0" }, "params" => nil, "session" => nil @@ -241,7 +241,7 @@ defmodule Airbrake.PayloadTest do "notifier" => %{ "name" => "Airbrake Client", "url" => "https://github.com/CityBaseInc/airbrake_client", - "version" => "1.0.0" + "version" => "2.0.0" }, "params" => %{"foo" => 55}, "session" => %{"foo" => 555} @@ -280,7 +280,7 @@ defmodule Airbrake.PayloadTest do "notifier" => %{ "name" => "Airbrake Client", "url" => "https://github.com/CityBaseInc/airbrake_client", - "version" => "1.0.0" + "version" => "2.0.0" }, "params" => nil, "session" => nil @@ -324,7 +324,7 @@ defmodule Airbrake.PayloadTest do "notifier" => %{ "name" => "Airbrake Client", "url" => "https://github.com/CityBaseInc/airbrake_client", - "version" => "1.0.0" + "version" => "2.0.0" }, "params" => %{"foo" => 55}, "session" => %{"foo" => 555}