aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/api
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-01-17 18:39:56 +0100
committerGitHub <noreply@github.com>2020-01-17 18:39:56 +0100
commit796c4c57d085ae4589b53dfe8369ae9ba30ffdaf (patch)
tree676b02604ae6f358ddb90c59c549465f6e9d6214 /tests/api
parentef028857531a6abe2d7180538b8510502ee2a467 (diff)
parentdef39d0dd7a81a4af9ad68b62c9e9823fbc2b38e (diff)
downloadShaarli-796c4c57d085ae4589b53dfe8369ae9ba30ffdaf.tar.gz
Shaarli-796c4c57d085ae4589b53dfe8369ae9ba30ffdaf.tar.zst
Shaarli-796c4c57d085ae4589b53dfe8369ae9ba30ffdaf.zip
Run Unit Tests against PHP 7.4 (#1353)
Run Unit Tests against PHP 7.4
Diffstat (limited to 'tests/api')
-rw-r--r--tests/api/ApiUtilsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/ApiUtilsTest.php b/tests/api/ApiUtilsTest.php
index ea0ae500..7499dd71 100644
--- a/tests/api/ApiUtilsTest.php
+++ b/tests/api/ApiUtilsTest.php
@@ -60,7 +60,7 @@ class ApiUtilsTest extends \PHPUnit\Framework\TestCase
60 public function testValidateJwtTokenValid() 60 public function testValidateJwtTokenValid()
61 { 61 {
62 $secret = 'WarIsPeace'; 62 $secret = 'WarIsPeace';
63 ApiUtils::validateJwtToken(self::generateValidJwtToken($secret), $secret); 63 $this->assertTrue(ApiUtils::validateJwtToken(self::generateValidJwtToken($secret), $secret));
64 } 64 }
65 65
66 /** 66 /**