mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Made test properties to be private instead of protected
This commit is contained in:
@@ -16,11 +16,11 @@ use function strpos;
|
||||
class AuthenticateActionTest extends TestCase
|
||||
{
|
||||
/** @var AuthenticateAction */
|
||||
protected $action;
|
||||
private $action;
|
||||
/** @var ObjectProphecy */
|
||||
protected $apiKeyService;
|
||||
private $apiKeyService;
|
||||
/** @var ObjectProphecy */
|
||||
protected $jwtService;
|
||||
private $jwtService;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -20,9 +20,9 @@ use function strpos;
|
||||
class CreateShortUrlActionTest extends TestCase
|
||||
{
|
||||
/** @var CreateShortUrlAction */
|
||||
protected $action;
|
||||
private $action;
|
||||
/** @var ObjectProphecy */
|
||||
protected $urlShortener;
|
||||
private $urlShortener;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ use Zend\Diactoros\ServerRequestFactory;
|
||||
class EditShortUrlTagsActionTest extends TestCase
|
||||
{
|
||||
/** @var EditShortUrlTagsAction */
|
||||
protected $action;
|
||||
private $action;
|
||||
/** @var ObjectProphecy */
|
||||
private $shortUrlService;
|
||||
|
||||
|
||||
@@ -15,9 +15,9 @@ use Zend\Paginator\Paginator;
|
||||
class ListShortUrlsActionTest extends TestCase
|
||||
{
|
||||
/** @var ListShortUrlsAction */
|
||||
protected $action;
|
||||
private $action;
|
||||
/** @var ObjectProphecy */
|
||||
protected $service;
|
||||
private $service;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -18,9 +18,9 @@ use function strpos;
|
||||
class ResolveShortUrlActionTest extends TestCase
|
||||
{
|
||||
/** @var ResolveShortUrlAction */
|
||||
protected $action;
|
||||
private $action;
|
||||
/** @var ObjectProphecy */
|
||||
protected $urlShortener;
|
||||
private $urlShortener;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -17,9 +17,9 @@ use Zend\Diactoros\ServerRequestFactory;
|
||||
class GetVisitsActionTest extends TestCase
|
||||
{
|
||||
/** @var GetVisitsAction */
|
||||
protected $action;
|
||||
private $action;
|
||||
/** @var ObjectProphecy */
|
||||
protected $visitsTracker;
|
||||
private $visitsTracker;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user