Skip to content

Commit 872d372

Browse files
committed
Update tests to latest phpunit
1 parent 06fb98e commit 872d372

File tree

4 files changed

+5
-92
lines changed

4 files changed

+5
-92
lines changed

package.php

Lines changed: 0 additions & 75 deletions
This file was deleted.

tests/Bootstrap.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/JWTTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22

3-
class JWTTests extends PHPUnit_Framework_TestCase {
3+
include_once 'JWT.php';
4+
5+
class JWTTest extends PHPUnit_Framework_TestCase {
46
function testEncodeDecode() {
57
$msg = JWT::encode('abc', 'my_key');
68
$this->assertEquals(JWT::decode($msg, 'my_key'), 'abc');
@@ -29,3 +31,5 @@ function testMalformedJsonThrowsException() {
2931
JWT::jsonDecode('this is not valid JSON string');
3032
}
3133
}
34+
35+
?>

tests/phpunit.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)