芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/joolsmen.com/vendor/lcobucci/jwt/test/unit/Signer/Rsa/Sha256Test.php
* @since 2.1.0 */ class Sha256Test extends \PHPUnit\Framework\TestCase { /** * @test * * @covers Lcobucci\JWT\Signer\Rsa\Sha256::getAlgorithmId */ public function getAlgorithmIdMustBeCorrect() { $signer = new Sha256(); $this->assertEquals('RS256', $signer->getAlgorithmId()); } /** * @test * * @covers Lcobucci\JWT\Signer\Rsa\Sha256::getAlgorithm */ public function getAlgorithmMustBeCorrect() { $signer = new Sha256(); $this->assertEquals(OPENSSL_ALGO_SHA256, $signer->getAlgorithm()); } }