From 6d62cdeb6c5ecb616dc850edb4ab22c7fa0aff43 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Wed, 9 Dec 2015 19:50:02 -0800 Subject: [PATCH] Correct these tests to actually test right thing. They were die'ing, alright, but not for the right reason. --- Supporters/t/Supporters.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Supporters/t/Supporters.t b/Supporters/t/Supporters.t index 6b9440c..3e601bd 100644 --- a/Supporters/t/Supporters.t +++ b/Supporters/t/Supporters.t @@ -74,9 +74,9 @@ ok( (looks_like_number($id2) and $id2 > $id1), =cut -dies_ok { $sp->_addEmailAdress(undef, 'drapper@example.org', 'paypal'); } +dies_ok { $sp->addEmailAddress(undef, 'drapper@example.org', 'paypal'); } "_addEmailAdress: dies for undefined id"; -dies_ok { $sp->_addEmailAdress("String", 'drapper@example.org', 'paypal'); } +dies_ok { $sp->addEmailAddress("String", 'drapper@example.org', 'paypal'); } "_addEmailAdress: dies for non-numeric id"; =item addAddressType