Renamed avs_response to avs_code
[Business-OnlinePayment-InternetSecure.git] / t / 30parse.t
index 6198468..a6ed028 100755 (executable)
@@ -5,7 +5,7 @@ use constant FIELDS => qw(
                        receipt_number sales_number
                        date
                        card_type
-                       avs_response cvv2_response
+                       avs_code cvv2_response
                        total_amount tax_amounts
                        );
 
@@ -19,7 +19,7 @@ use constant RESULTS => (
                                        sales_number    => 0,
                                        date            => '2003/12/17 09:59:58',
                                        card_type       => undef,
-                                       avs_response    => undef,
+                                       avs_code        => undef,
                                        cvv2_response   => undef,
                                        total_amount    => 3.88,
                                        tax_amounts     => { GST => 0.25 },
@@ -35,7 +35,7 @@ use constant RESULTS => (
                                        sales_number    => 729,
                                        date            => '2003/12/17 10:31:58',
                                        card_type       => 'Visa',
-                                       avs_response    => undef,
+                                       avs_code        => undef,
                                        cvv2_response   => undef,
                                        total_amount    => 3.88,
                                        tax_amounts     => { GST => 0.25,