From e5f277e6400776866e3a087c3ffeafd1997f5672 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Thu, 7 Jan 2021 20:39:47 -0500 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- tests/integration/api/authentication/WithApiKeyTest.php | 1 - .../integration/api/discussions/ListTestWithFulltextSearch.php | 2 +- tests/integration/extenders/SettingsTest.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/integration/api/authentication/WithApiKeyTest.php b/tests/integration/api/authentication/WithApiKeyTest.php index a61303e14..fdbf14128 100644 --- a/tests/integration/api/authentication/WithApiKeyTest.php +++ b/tests/integration/api/authentication/WithApiKeyTest.php @@ -13,7 +13,6 @@ use Carbon\Carbon; use Flarum\Api\ApiKey; use Flarum\Tests\integration\RetrievesAuthorizedUsers; use Flarum\Tests\integration\TestCase; -use Illuminate\Support\Str; class WithApiKeyTest extends TestCase { diff --git a/tests/integration/api/discussions/ListTestWithFulltextSearch.php b/tests/integration/api/discussions/ListTestWithFulltextSearch.php index e2de57bb5..ce9edf8f9 100644 --- a/tests/integration/api/discussions/ListTestWithFulltextSearch.php +++ b/tests/integration/api/discussions/ListTestWithFulltextSearch.php @@ -52,7 +52,7 @@ class ListTest extends TestCase { 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(); } diff --git a/tests/integration/extenders/SettingsTest.php b/tests/integration/extenders/SettingsTest.php index f85d175e8..84433de25 100644 --- a/tests/integration/extenders/SettingsTest.php +++ b/tests/integration/extenders/SettingsTest.php @@ -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 {