1
0
mirror of https://github.com/flarum/core.git synced 2025-08-10 10:24:46 +02:00

Apply fixes from StyleCI

[ci skip] [skip ci]
This commit is contained in:
luceos
2020-03-24 10:02:08 +00:00
committed by StyleCI Bot
parent 3046461c77
commit 23736fcfda
7 changed files with 38 additions and 10 deletions

View File

@@ -1,26 +1,30 @@
<?php
/*
* This file is part of Flarum.
*
* For detailed copyright and license information, please view the
* LICENSE file that was distributed with this source code.
*/
namespace Flarum\Tests\integration\extenders;
use Flarum\Extend\NotificationChannel;
use Flarum\Extend\UserPreferences;
use Flarum\Tests\integration\RetrievesAuthorizedUsers;
use Flarum\Tests\integration\TestCase;
use Flarum\User\User;
use Illuminate\Support\Arr;
class NotificationChannelTest extends TestCase
{
use RetrievesAuthorizedUsers;
public function setUp()
{
parent::setUp();
$this->prepareDatabase([
'users' => [
$this->normalUser()
$this->normalUser()
]
]);
}
@@ -39,6 +43,5 @@ class NotificationChannelTest extends TestCase
/** @var User $user */
$user = User::find(2);
}
}

View File

@@ -1,5 +1,12 @@
<?php
/*
* This file is part of Flarum.
*
* For detailed copyright and license information, please view the
* LICENSE file that was distributed with this source code.
*/
namespace Flarum\Tests\integration\extenders;
use Flarum\Extend\UserPreferences;
@@ -12,14 +19,13 @@ class UserPreferencesTest extends TestCase
{
use RetrievesAuthorizedUsers;
public function setUp()
{
parent::setUp();
$this->prepareDatabase([
'users' => [
$this->normalUser()
$this->normalUser()
]
]);
}