ASN1: one more unit test change

This commit is contained in:
terrafrost 2014-09-03 20:54:24 -05:00
parent 8293b66136
commit bb6d5d9bc0

View File

@ -240,7 +240,7 @@ class Unit_File_ASN1Test extends PhpseclibTestCase
public function testIndefiniteLength()
{
$asn1 = new File_ASN1();
$decoded = $asn1->decodeBER(file_get_contents(dirname(__FILE__) . '/tests/Unit/File/ASN1/FE.pdf.p7m'));
$decoded = $asn1->decodeBER(file_get_contents(dirname(__FILE__) . '/ASN1/FE.pdf.p7m'));
$this->assertEquals(count($decoded[0]['content'][1]['content'][0]['content']), 5); // older versions would have returned 3
}