From 2dafc3c544198b8edaecd22de045aae5c8a34db8 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 20 Dec 2015 17:10:18 -0800 Subject: [PATCH] Correct test; it used incorrect variable --- 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 9765d14..b4dc847 100644 --- a/Supporters/t/Supporters.t +++ b/Supporters/t/Supporters.t @@ -412,8 +412,8 @@ is(scalar keys %{$tShirtSmallOnlyData->{$tShirtSmallOnlyRequestId}}, 1, "addRequest: just one configuration added correctly"); ok( (defined $tShirtSmallOnlyData->{$tShirtSmallOnlyRequestId}{'Small'} and - looks_like_number($tShirtSmallOnlyData->{$tShirt0RequestTypeId}{'Small'}) and - $tShirtSmallOnlyData->{$tShirt0RequestTypeId}{'Small'} > 0), + looks_like_number($tShirtSmallOnlyData->{$tShirtSmallOnlyRequestId}{'Small'}) and + $tShirtSmallOnlyData->{$tShirtSmallOnlyRequestId}{'Small'} > 0), "addRequest: configuration added correctly"); is undef, $sp->getRequestConfigurations(undef), "getRequestConfigurations: undef type returns undef";