aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Brooke <hi@broo.ke> 2021-02-19 15:35:53 -0800
committerGravatar GitHub <noreply@github.com> 2021-02-20 00:35:53 +0100
commit2942d64d4fbae0cfedab05b8518b4403c4fb8926 (patch)
treec6d2af9b66304717411b69c38be79e1a6411e3fe /tests
parent4313c09e68056fe0c4cf9ddb9dc8d9ad5c92f1d9 (diff)
Update Travis.yaml to support newer PHP versions (#3459)
* Update Travis * Drop Older PHP Versions Drops PHP 7.1 and 7.3 from tests. Also updates Translations to use PHP 7.4 instead of 7.3 * Update Test Class Names to Fix Warnings This updates the Class name for 'CategoryTest', `passwordUtilTest.php`, and `MigratorTest.php`
Diffstat (limited to 'tests')
-rw-r--r--tests/app/Models/CategoryTest.php2
-rw-r--r--tests/app/Utils/passwordUtilTest.php2
-rw-r--r--tests/lib/Minz/MigratorTest.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/app/Models/CategoryTest.php b/tests/app/Models/CategoryTest.php
index a1edb17b6..840c718ce 100644
--- a/tests/app/Models/CategoryTest.php
+++ b/tests/app/Models/CategoryTest.php
@@ -1,6 +1,6 @@
<?php
-class FreshRSS_CategoryTest extends PHPUnit\Framework\TestCase {
+class CategoryTest extends PHPUnit\Framework\TestCase {
public function test__construct_whenNoParameters_createsObjectWithDefaultValues() {
$category = new FreshRSS_Category();
diff --git a/tests/app/Utils/passwordUtilTest.php b/tests/app/Utils/passwordUtilTest.php
index 90c05004f..ddccb784f 100644
--- a/tests/app/Utils/passwordUtilTest.php
+++ b/tests/app/Utils/passwordUtilTest.php
@@ -1,6 +1,6 @@
<?php
-class FreshRSS_password_UtilTest extends PHPUnit\Framework\TestCase {
+class passwordUtilTest extends PHPUnit\Framework\TestCase {
public function testCheck() {
$password = '1234567';
diff --git a/tests/lib/Minz/MigratorTest.php b/tests/lib/Minz/MigratorTest.php
index 8f23895aa..d4b1e030c 100644
--- a/tests/lib/Minz/MigratorTest.php
+++ b/tests/lib/Minz/MigratorTest.php
@@ -2,7 +2,7 @@
use PHPUnit\Framework\TestCase;
-class Minz_MigratorTest extends TestCase
+class MigratorTest extends TestCase
{
public function testAddMigration() {
$migrator = new Minz_Migrator();