Commit 6f6399ca authored by Mario's avatar Mario
Browse files

fix test

parent 5018c0fb
Pipeline #366502 failed with stage
in 4 minutes and 12 seconds
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="" bootstrap="../boot.php" colors="true" xsi:noNamespaceSchemaLocation="">
<coverage processUncoveredFiles="true">
<coverage processUncoveredFiles="false">
<directory suffix=".php">../Zotlabs/</directory>
<directory suffix=".php">../include/</directory>
......@@ -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.');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment