diff options
author | Mario <mario@mariovavti.com> | 2020-11-26 11:43:07 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-26 11:43:07 +0000 |
commit | 6f6399ca0f30870ef83b64121d379e537ceebfb8 (patch) | |
tree | f4a76cf0bbcac7b469227c255980012f23c3bc48 /tests/unit/Access/PermissionRolesTest.php | |
parent | 5018c0fbb8da6d2506808ad9d741c3ce651f3dd5 (diff) | |
download | volse-hubzilla-6f6399ca0f30870ef83b64121d379e537ceebfb8.tar.gz volse-hubzilla-6f6399ca0f30870ef83b64121d379e537ceebfb8.tar.bz2 volse-hubzilla-6f6399ca0f30870ef83b64121d379e537ceebfb8.zip |
fix test
Diffstat (limited to 'tests/unit/Access/PermissionRolesTest.php')
-rw-r--r-- | tests/unit/Access/PermissionRolesTest.php | 3 |
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.'); |