mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-09-28 07:09:01 +00:00
Tests: updates for phpseclib 2.0
This commit is contained in:
parent
63711d50e2
commit
0777e700b9
@ -453,7 +453,7 @@ class Unit_File_ASN1Test extends PhpseclibTestCase
|
|||||||
{
|
{
|
||||||
$cert = file_get_contents(dirname(__FILE__) . '/ASN1/mal-cert-02.der');
|
$cert = file_get_contents(dirname(__FILE__) . '/ASN1/mal-cert-02.der');
|
||||||
|
|
||||||
$asn1 = new File_ASN1();
|
$asn1 = new ASN1();
|
||||||
//$this->setExpectedException('PHPUnit_Framework_Error_Notice');
|
//$this->setExpectedException('PHPUnit_Framework_Error_Notice');
|
||||||
$decoded = $asn1->decodeBER($cert);
|
$decoded = $asn1->decodeBER($cert);
|
||||||
$this->assertFalse($decoded[0]);
|
$this->assertFalse($decoded[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user