From 32ce6a0d3e2338d90dee57639bb2b5084d398fb3 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Mon, 17 Sep 2018 00:27:42 -0500 Subject: [PATCH] Tests/ASN1: update unit test to work on 2.0 --- tests/Unit/File/ASN1Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/File/ASN1Test.php b/tests/Unit/File/ASN1Test.php index 1ccc257a..40845b8d 100644 --- a/tests/Unit/File/ASN1Test.php +++ b/tests/Unit/File/ASN1Test.php @@ -338,7 +338,7 @@ class Unit_File_ASN1Test extends PhpseclibTestCase public function testInvalidCertificate() { $data = 'a' . base64_decode('MD6gJQYKKwYBBAGCNxQCA6AXDBVvZmZpY2VAY2VydGRpZ2l0YWwucm+BFW9mZmljZUBjZXJ0ZGlnaXRhbC5ybw=='); - $asn1 = new File_ASN1(); + $asn1 = new ASN1(); $asn1->decodeBER($data); } }