aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/Access/PermissionRolesTest.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-26 18:43:53 +0000
committerMario <mario@mariovavti.com>2020-11-26 18:43:53 +0000
commit0f6166da004317045bae5430140c70ee0d60aad1 (patch)
tree78145aa23c2c60acab9add4299ee50935898a46a /tests/unit/Access/PermissionRolesTest.php
parent25620081a1326eb243c974845d613a16b7be1966 (diff)
parent07e5b8295ea9d342f66d8119d88bd58124b548e6 (diff)
downloadvolse-hubzilla-5.0.3.tar.gz
volse-hubzilla-5.0.3.tar.bz2
volse-hubzilla-5.0.3.zip
Merge branch 'dev'5.0.3
Diffstat (limited to 'tests/unit/Access/PermissionRolesTest.php')
-rw-r--r--tests/unit/Access/PermissionRolesTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/Access/PermissionRolesTest.php b/tests/unit/Access/PermissionRolesTest.php
index 58fd88bb1..dd55eb6e2 100644
--- a/tests/unit/Access/PermissionRolesTest.php
+++ b/tests/unit/Access/PermissionRolesTest.php
@@ -26,6 +26,7 @@ namespace Zotlabs\Tests\Unit\Access;
use Zotlabs\Tests\Unit\UnitTestCase;
use Zotlabs\Access\PermissionRoles;
use phpmock\phpunit\PHPMock;
+use DMS\PHPUnitExtensions\ArraySubset\Assert;
/**
* @brief Unit Test case for PermissionRoles class.
@@ -68,7 +69,7 @@ class PermissionRolesTest extends UnitTestCase {
'social_private' => 'Social - Private'
];
- $this->assertArraySubset(['Social Networking' => $socialNetworking], $roles);
+ Assert::assertArraySubset(['Social Networking' => $socialNetworking], $roles);
$this->assertEquals($socialNetworking, $roles['Social Networking']);
$this->assertCount(5, $roles, 'There should be 5 permission groups.');