Have to_xml() already encode its output, and switch to numeric entities
[Business-OnlinePayment-InternetSecure.git] / t / 20emit.t
index 8ce5c8a..e51f5e7 100755 (executable)
@@ -82,7 +82,7 @@ foreach (TRANSACTIONS) {
        };
 
        is_deeply(
-               xml_in(Encode::encode('utf8', $txn->to_xml)),
+               xml_in($txn->to_xml),
                xml_in($data)
        ); 
 }