diff --git a/framework/core/tests/Flarum/Admin/Middleware/RequireAdministrateAbilityTest.php b/framework/core/tests/Flarum/Admin/Middleware/RequireAdministrateAbilityTest.php index 261eba796..6dfaf84aa 100644 --- a/framework/core/tests/Flarum/Admin/Middleware/RequireAdministrateAbilityTest.php +++ b/framework/core/tests/Flarum/Admin/Middleware/RequireAdministrateAbilityTest.php @@ -5,11 +5,10 @@ use Flarum\Admin\Middleware\AuthenticateWithCookie; use Flarum\Admin\Middleware\RequireAdministrateAbility; use Flarum\Core\Access\Gate; use Flarum\Core\Exception\PermissionDeniedException; -use Illuminate\Contracts\Container\Container; use Mockery as m; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; -use tests\Test\TestCase; +use Tests\Test\TestCase; class RequireAdministrateAbilityTest extends TestCase { diff --git a/framework/core/tests/Flarum/Core/Settings/DatabaseSettingsRepositoryTest.php b/framework/core/tests/Flarum/Core/Settings/DatabaseSettingsRepositoryTest.php index 69b52ce64..74e0b3dbd 100644 --- a/framework/core/tests/Flarum/Core/Settings/DatabaseSettingsRepositoryTest.php +++ b/framework/core/tests/Flarum/Core/Settings/DatabaseSettingsRepositoryTest.php @@ -4,7 +4,7 @@ namespace Tests\Flarum\Core\Settings; use Flarum\Settings\DatabaseSettingsRepository; use Illuminate\Database\ConnectionInterface; use Mockery as m; -use tests\Test\TestCase; +use Tests\Test\TestCase; class DatabaseSettingsRepositoryTest extends TestCase { diff --git a/framework/core/tests/Flarum/Core/Settings/MemoryCacheSettingsRepositoryTest.php b/framework/core/tests/Flarum/Core/Settings/MemoryCacheSettingsRepositoryTest.php index 99888648e..0cd8ca7d6 100644 --- a/framework/core/tests/Flarum/Core/Settings/MemoryCacheSettingsRepositoryTest.php +++ b/framework/core/tests/Flarum/Core/Settings/MemoryCacheSettingsRepositoryTest.php @@ -4,7 +4,7 @@ namespace Tests\Flarum\Core\Settings; use Flarum\Settings\MemoryCacheSettingsRepository; use Flarum\Settings\SettingsRepositoryInterface; use Mockery as m; -use tests\Test\TestCase; +use Tests\Test\TestCase; class MemoryCacheSettingsRepositoryTest extends TestCase { @@ -13,7 +13,7 @@ class MemoryCacheSettingsRepositoryTest extends TestCase public function init() { - $this->baseRepository = m::mock(\Flarum\Settings\SettingsRepositoryInterface::class); + $this->baseRepository = m::mock(SettingsRepositoryInterface::class); $this->repository = new MemoryCacheSettingsRepository($this->baseRepository); }