Fied broken test

This commit is contained in:
Kirk Bushell 2015-10-27 12:50:11 +00:00
parent 067f87eacb
commit 903bb27697
3 changed files with 4 additions and 5 deletions

View File

@ -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
{

View File

@ -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
{

View File

@ -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);
}