mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Add @inheritDoc to all setUp and tearDown methods
This commit is contained in:
@@ -17,6 +17,9 @@ class ContainerUtilTest extends TestCase
|
||||
{
|
||||
private $container;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
@@ -20,6 +20,9 @@ class IlluminateValidationExceptionHandlerTest extends TestCase
|
||||
{
|
||||
private $handler;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->handler = new IlluminateValidationExceptionHandler;
|
||||
|
@@ -17,6 +17,9 @@ class ValidationExceptionHandlerTest extends TestCase
|
||||
{
|
||||
private $handler;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->handler = new ValidationExceptionHandler;
|
||||
|
@@ -19,6 +19,9 @@ class DatabaseSettingsRepositoryTest extends TestCase
|
||||
private $connection;
|
||||
private $repository;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->connection = m::mock(ConnectionInterface::class);
|
||||
|
@@ -19,6 +19,9 @@ class MemoryCacheSettingsRepositoryTest extends TestCase
|
||||
private $baseRepository;
|
||||
private $repository;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->baseRepository = m::mock(SettingsRepositoryInterface::class);
|
||||
|
@@ -21,6 +21,9 @@ class AbstractPolicyTest extends TestCase
|
||||
private $policy;
|
||||
private $dispatcher;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->policy = m::mock(CustomUserPolicy::class)->makePartial();
|
||||
|
@@ -24,6 +24,9 @@ class AvatarUploaderTest extends TestCase
|
||||
private $filesystem;
|
||||
private $uploader;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->dispatcher = m::mock(Dispatcher::class);
|
||||
|
Reference in New Issue
Block a user