Fixed case in test filenames

This commit is contained in:
2023-04-10 00:55:15 +02:00
parent c5dd773026
commit b0566e3148
5 changed files with 0 additions and 0 deletions

22
tests/JWTUtilTest.php Normal file
View File

@ -0,0 +1,22 @@
<?php
namespace NoccyLabs\SimpleJWT;
class JWTUtilTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers \NoccyLabs\SimpleJWT\JWTUtil::encode
* @covers \NoccyLabs\SimpleJWT\JWTUtil::decode
*/
public function testTheEncodingShouldBeSymmetric()
{
$v1a = "HelloWorld";
$v1b = JWTUtil::encode($v1a);
$v1c = JWTUtil::decode($v1b);
$this->assertEquals($v1a, $v1c);
$this->assertNotEquals($v1a, $v1b);
}
}