mirror of
https://github.com/danog/phpseclib.git
synced 2024-11-27 04:46:26 +01:00
ASN1: one more unit test change
This commit is contained in:
parent
8293b66136
commit
bb6d5d9bc0
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user