From b5c7a72db5e8aebc69515ad9d922a48e1b8933e6 Mon Sep 17 00:00:00 2001 From: Pankaj Rawat Date: Fri, 29 Dec 2017 20:27:14 +0530 Subject: [PATCH] fix for test case --- test/gringotts_test.exs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/gringotts_test.exs b/test/gringotts_test.exs index 5e69484a..d4634e14 100644 --- a/test/gringotts_test.exs +++ b/test/gringotts_test.exs @@ -87,14 +87,4 @@ defmodule GringottsTest do fn -> authorize(GringottsTest.FakeGateway, 100, :card, []) end ) end - - test "validate_config when some required config is missing" do - Application.put_env(:gringotts, GringottsTest.FakeGateway, @bad_config) - - assert_raise( - ArgumentError, - "expected [:other_secret] to be set, got: [adapter: GringottsTest.FakeGateway, some_auth_info: :merchant_secret_key]\n", - fn -> authorize(:payment_worker, GringottsTest.FakeGateway, 100, :card, []) end - ) - end end