1
0
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:
Alexander Skvortsov
2021-01-06 22:16:26 -05:00
parent 008ec95505
commit 0a8816938a
22 changed files with 66 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ class ContainerUtilTest extends TestCase
{
private $container;
/**
* @inheritDoc
*/
protected function setUp()
{
parent::setUp();

View File

@@ -20,6 +20,9 @@ class IlluminateValidationExceptionHandlerTest extends TestCase
{
private $handler;
/**
* @inheritDoc
*/
protected function setUp(): void
{
$this->handler = new IlluminateValidationExceptionHandler;

View File

@@ -17,6 +17,9 @@ class ValidationExceptionHandlerTest extends TestCase
{
private $handler;
/**
* @inheritDoc
*/
protected function setUp(): void
{
$this->handler = new ValidationExceptionHandler;

View File

@@ -19,6 +19,9 @@ class DatabaseSettingsRepositoryTest extends TestCase
private $connection;
private $repository;
/**
* @inheritDoc
*/
protected function setUp(): void
{
$this->connection = m::mock(ConnectionInterface::class);

View File

@@ -19,6 +19,9 @@ class MemoryCacheSettingsRepositoryTest extends TestCase
private $baseRepository;
private $repository;
/**
* @inheritDoc
*/
protected function setUp(): void
{
$this->baseRepository = m::mock(SettingsRepositoryInterface::class);

View File

@@ -21,6 +21,9 @@ class AbstractPolicyTest extends TestCase
private $policy;
private $dispatcher;
/**
* @inheritDoc
*/
protected function setUp(): void
{
$this->policy = m::mock(CustomUserPolicy::class)->makePartial();

View File

@@ -24,6 +24,9 @@ class AvatarUploaderTest extends TestCase
private $filesystem;
private $uploader;
/**
* @inheritDoc
*/
protected function setUp(): void
{
$this->dispatcher = m::mock(Dispatcher::class);