ASN1: fix unit test

This commit is contained in:
terrafrost 2014-09-24 00:07:49 -05:00
parent a2f4a2cbba
commit 3785bebcce

View File

@ -272,8 +272,9 @@ class Unit_File_ASN1Test extends PhpseclibTestCase
/** /**
* @group github477 * @group github477
*/ */
public function contextSpecificNonConstructed() public function testContextSpecificNonConstructed()
{ {
$asn1 = new File_ASN1();
$decoded = $asn1->decodeBER(base64_decode('MBaAFJtUo7c00HsI5EPZ4bkICfkOY2Pv')); $decoded = $asn1->decodeBER(base64_decode('MBaAFJtUo7c00HsI5EPZ4bkICfkOY2Pv'));
$this->assertInternalType('string', $decoded[0]['content'][0]['content']); $this->assertInternalType('string', $decoded[0]['content'][0]['content']);
} }