Made test properties to be private instead of protected

This commit is contained in:
Alejandro Celaya
2018-11-20 19:37:22 +01:00
parent 0ae5a53d86
commit 5abd9d1a40
51 changed files with 90 additions and 90 deletions

View File

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

View File

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

View File

@@ -14,7 +14,7 @@ use Zend\Diactoros\ServerRequestFactory;
class EditShortUrlTagsActionTest extends TestCase
{
/** @var EditShortUrlTagsAction */
protected $action;
private $action;
/** @var ObjectProphecy */
private $shortUrlService;

View File

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

View File

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

View File

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