mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Fied broken test
This commit is contained in:
parent
067f87eacb
commit
903bb27697
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user