From 53806da06aac6207ee70ecf908ffa7e4b37fb5dc Mon Sep 17 00:00:00 2001 From: "Kruger, John (GE Corporate)" Date: Tue, 2 May 2017 20:38:29 -0700 Subject: [PATCH] Corrected testBadHeaderIPN() test --- .gitignore | 1 + tst/com/amazon/pay/impl/ipn/NotificationVerificationTest.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bfa6a22 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +# Created by .ignore support plugin (hsz.mobi) diff --git a/tst/com/amazon/pay/impl/ipn/NotificationVerificationTest.java b/tst/com/amazon/pay/impl/ipn/NotificationVerificationTest.java index 4bce4de..199bd1b 100644 --- a/tst/com/amazon/pay/impl/ipn/NotificationVerificationTest.java +++ b/tst/com/amazon/pay/impl/ipn/NotificationVerificationTest.java @@ -59,7 +59,7 @@ public void testNullHeaderIPN() { public void testBadHeaderIPN() { Map badHeader = new HashMap(); badHeader.put("x-amz-sns-message-type" , "Otherr"); - NotificationFactory.parseNotification(null, sampleNotification); + NotificationFactory.parseNotification(badHeader, sampleNotification); Assert.fail(); }