Fix PHP-CS
This commit is contained in:
parent
5fecc9ecf7
commit
a07acac463
2 changed files with 15 additions and 16 deletions
|
@ -23,7 +23,6 @@ namespace Friendica\Profile\ProfileField\Depository;
|
||||||
|
|
||||||
use Friendica\BaseDepository;
|
use Friendica\BaseDepository;
|
||||||
use Friendica\Database\Database;
|
use Friendica\Database\Database;
|
||||||
use Friendica\Database\DBA;
|
|
||||||
use Friendica\Profile\ProfileField\Exception\ProfileFieldNotFoundException;
|
use Friendica\Profile\ProfileField\Exception\ProfileFieldNotFoundException;
|
||||||
use Friendica\Profile\ProfileField\Exception\ProfileFieldPersistenceException;
|
use Friendica\Profile\ProfileField\Exception\ProfileFieldPersistenceException;
|
||||||
use Friendica\Profile\ProfileField\Exception\UnexpectedPermissionSetException;
|
use Friendica\Profile\ProfileField\Exception\UnexpectedPermissionSetException;
|
||||||
|
|
|
@ -36,13 +36,13 @@ class ProfileFieldTest extends MockedTest
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'default' => [
|
'default' => [
|
||||||
'uid' => 23,
|
'uid' => 23,
|
||||||
'order' => 1,
|
'order' => 1,
|
||||||
'psid' => 2,
|
'psid' => 2,
|
||||||
'label' => 'test',
|
'label' => 'test',
|
||||||
'value' => 'more',
|
'value' => 'more',
|
||||||
'created' => new \DateTime('2021-10-10T21:12:00.000000+0000', new \DateTimeZone('UTC')),
|
'created' => new \DateTime('2021-10-10T21:12:00.000000+0000', new \DateTimeZone('UTC')),
|
||||||
'edited' => new \DateTime('2021-10-10T21:12:00.000000+0000', new \DateTimeZone('UTC')),
|
'edited' => new \DateTime('2021-10-10T21:12:00.000000+0000', new \DateTimeZone('UTC')),
|
||||||
'permissionSet' => [
|
'permissionSet' => [
|
||||||
'uid' => 23,
|
'uid' => 23,
|
||||||
'allow_cid' => "<1>",
|
'allow_cid' => "<1>",
|
||||||
|
@ -53,13 +53,13 @@ class ProfileFieldTest extends MockedTest
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'withId' => [
|
'withId' => [
|
||||||
'uid' => 23,
|
'uid' => 23,
|
||||||
'order' => 1,
|
'order' => 1,
|
||||||
'psid' => 2,
|
'psid' => 2,
|
||||||
'label' => 'test',
|
'label' => 'test',
|
||||||
'value' => 'more',
|
'value' => 'more',
|
||||||
'created' => new \DateTime('2021-10-10T21:12:00.000000+0000', new \DateTimeZone('UTC')),
|
'created' => new \DateTime('2021-10-10T21:12:00.000000+0000', new \DateTimeZone('UTC')),
|
||||||
'edited' => new \DateTime('2021-10-10T21:12:00.000000+0000', new \DateTimeZone('UTC')),
|
'edited' => new \DateTime('2021-10-10T21:12:00.000000+0000', new \DateTimeZone('UTC')),
|
||||||
'permissionSet' => [
|
'permissionSet' => [
|
||||||
'uid' => 23,
|
'uid' => 23,
|
||||||
'allow_cid' => "<1>",
|
'allow_cid' => "<1>",
|
||||||
|
@ -68,7 +68,7 @@ class ProfileFieldTest extends MockedTest
|
||||||
'deny_gid' => '<3>',
|
'deny_gid' => '<3>',
|
||||||
'id' => 2,
|
'id' => 2,
|
||||||
],
|
],
|
||||||
'id' => 54,
|
'id' => 54,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue