aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/Access/PermissionsTest.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-05-27 06:17:05 +0000
committerMario <mario@mariovavti.com>2024-05-27 06:17:05 +0000
commitcad82d12d2aad1a54fa821061dd3dc1ffc732c5a (patch)
treefcc58ecd7ad3c9f9768c168d5a15f557545a52ad /tests/unit/Access/PermissionsTest.php
parenta10402a7883efd4886ad17c8133c10237f443181 (diff)
downloadvolse-hubzilla-cad82d12d2aad1a54fa821061dd3dc1ffc732c5a.tar.gz
volse-hubzilla-cad82d12d2aad1a54fa821061dd3dc1ffc732c5a.tar.bz2
volse-hubzilla-cad82d12d2aad1a54fa821061dd3dc1ffc732c5a.zip
Upgrade test framework to PHPUnit 10.5
Diffstat (limited to 'tests/unit/Access/PermissionsTest.php')
-rw-r--r--tests/unit/Access/PermissionsTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/Access/PermissionsTest.php b/tests/unit/Access/PermissionsTest.php
index 3ab567ad0..dd001e68a 100644
--- a/tests/unit/Access/PermissionsTest.php
+++ b/tests/unit/Access/PermissionsTest.php
@@ -135,7 +135,7 @@ class PermissionsTest extends UnitTestCase {
* * \e array Indexed array which is passed as parameter to FilledPerms()
* * \e array Expected associative result array with filled perms
*/
- public function FilledPermsProvider() {
+ public static function FilledPermsProvider() {
return [
'Empty param array' => [
[],
@@ -253,7 +253,7 @@ class PermissionsTest extends UnitTestCase {
* * \e array Array with perms to test
* * \e array Expected result array
*/
- public function OPermsProvider() {
+ public static function OPermsProvider() {
return [
'empty' => [
[],
@@ -286,7 +286,7 @@ class PermissionsTest extends UnitTestCase {
* * \e array 2nd array with perms
* * \e boolean expected result for the perms comparison
*/
- public function permsCompareProvider() {
+ public static function permsCompareProvider() {
return [
'equal' => [
['perm1' => 1, 'perm2' => 0],