mirror of
https://github.com/friendica/friendica
synced 2025-02-08 16:58:51 +00:00
Merge branch 'add-static-code-analysis' into refactoring-of-app-class
This commit is contained in:
commit
bbf7d50295
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
namespace Friendica\Test\src\Object\Api\Mastodon;
|
namespace Friendica\Test\Unit\Object\Api\Mastodon;
|
||||||
|
|
||||||
use Friendica\Object\Api\Mastodon\Preferences;
|
use Friendica\Object\Api\Mastodon\Preferences;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
@ -14,7 +14,7 @@ class PreferencesTest extends TestCase
|
||||||
{
|
{
|
||||||
public function testToArrayReturnsArray(): void
|
public function testToArrayReturnsArray(): void
|
||||||
{
|
{
|
||||||
$preferences = new Preferences('visibility',true, 'language', 'media', false);
|
$preferences = new Preferences('visibility', true, 'language', 'media', false);
|
||||||
|
|
||||||
self::assertSame(
|
self::assertSame(
|
||||||
[
|
[
|
||||||
|
@ -30,7 +30,7 @@ class PreferencesTest extends TestCase
|
||||||
|
|
||||||
public function testJsonSerializeReturnsArray(): void
|
public function testJsonSerializeReturnsArray(): void
|
||||||
{
|
{
|
||||||
$preferences = new Preferences('visibility',true, 'language', 'media', false);
|
$preferences = new Preferences('visibility', true, 'language', 'media', false);
|
||||||
|
|
||||||
self::assertSame(
|
self::assertSame(
|
||||||
[
|
[
|
Loading…
Add table
Reference in a new issue