mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-19 03:35:12 +00:00
ASN1: another unit test update
This commit is contained in:
parent
34866bf095
commit
8293b66136
@ -240,7 +240,7 @@ class Unit_File_ASN1Test extends PhpseclibTestCase
|
||||
public function testIndefiniteLength()
|
||||
{
|
||||
$asn1 = new File_ASN1();
|
||||
$decoded = $asn1->decodeBER(file_get_contents('tests/Unit/File/FE.pdf.p7m'));
|
||||
$decoded = $asn1->decodeBER(file_get_contents(dirname(__FILE__) . '/tests/Unit/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