Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
askvortsov1 committed Jan 8, 2021
1 parent b13b80d commit b5181f3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion tests/integration/api/authentication/WithApiKeyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Flarum\Api\ApiKey;
use Flarum\Tests\integration\RetrievesAuthorizedUsers;
use Flarum\Tests\integration\TestCase;
use Illuminate\Support\Str;

class WithApiKeyTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected function tearDown(): void
{
parent::tearDown();

$this->database()->table('discussions')->whereIn('id', [1,2])->delete();
$this->database()->table('discussions')->whereIn('id', [1, 2])->delete();
$this->database()->table('posts')->whereIn('id', [1, 2])->delete();
}

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/extenders/ModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function custom_relationship_is_inherited_to_child_classes()
public function custom_relationship_prioritizes_child_classes_within_2_parent_classes()
{
$this->extend(
# FIXME: Second has no effect
// FIXME: Second has no effect
(new Extend\Model(Post::class))
->belongsTo('ancestor', User::class, 'user_id'),
(new Extend\Model(AbstractEventPost::class))
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/extenders/SettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
namespace Flarum\Tests\integration\extenders;

use Flarum\Extend;
use Flarum\Tests\integration\UsesSettings;
use Flarum\Tests\integration\RetrievesAuthorizedUsers;
use Flarum\Tests\integration\TestCase;
use Flarum\Tests\integration\UsesSettings;

class SettingsTest extends TestCase
{
Expand Down

0 comments on commit b5181f3

Please sign in to comment.