File manager - Edit - /home/autoph/public_html/projects/vendor/namshi/jose/tests/Namshi/JOSE/Test/Signer/OpenSSL/NoneTest.php
Back
<?php namespace Namshi\JOSE\Test\OpenSSL\Signer; use Namshi\JOSE\Signer\OpenSSL\None; use PHPUnit_Framework_TestCase as TestCase; class NoneTest extends TestCase { public function testVerificationWorksProperly() { $signer = new none(); $this->assertTrue($signer->verify('bar', '', 'aaa')); } public function testSigningWorksProperly() { $signer = new none(); $signature = $signer->sign('aaa', 'foo'); $this->assertTrue($signature === ''); } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings