Skip to content

Commit

Permalink
Revert "[#14213] - Adjusted tests"
Browse files Browse the repository at this point in the history
This reverts commit 04a58c7.
  • Loading branch information
niden committed Jul 4, 2019
1 parent 3699358 commit 4cccb8e
Show file tree
Hide file tree
Showing 22 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion tests/_data/fixtures/controllers/ExceptionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* Class ExceptionController
*/
class ExceptionController extends \Phalcon\Mvc\Controller\AbstractController
class ExceptionController extends \Phalcon\Mvc\Controller
{
public function indexAction()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/controllers/Firewall/FourController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

namespace Phalcon\Test\Controllers\Firewall;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;
use Phalcon\Test\Models\AlbumORama\Albums;

class FourController extends AbstractController
class FourController extends Controller
{
public function firstAction(Albums $album)
{
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/controllers/Firewall/OneController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

namespace Phalcon\Test\Controllers\Firewall;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

class OneController extends AbstractController
class OneController extends Controller
{
/**
* @Allow("ROLE1")
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/controllers/Firewall/ThreeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

namespace Phalcon\Test\Controllers\Firewall;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

class ThreeController extends AbstractController
class ThreeController extends Controller
{
public function denyAction()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/controllers/Firewall/TwoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

namespace Phalcon\Test\Controllers\Firewall;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

class TwoController extends AbstractController
class TwoController extends Controller
{
public function allowAction()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/controllers/MicroController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
namespace Phalcon\Test\Controllers;

use Phalcon\Http\Response;
use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

class MicroController extends AbstractController
class MicroController extends Controller
{
public function indexAction()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/_data/fixtures/controllers/ViewRequestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

namespace Phalcon\Test\Controllers;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* Class ViewRequestController
*/
class ViewRequestController extends AbstractController
class ViewRequestController extends Controller
{
public function requestAction()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Phalcon\Test\Modules\Backend\Controllers;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

class LoginController extends AbstractController
class LoginController extends Controller
{
public function indexAction()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Phalcon\Test\Modules\Frontend\Controllers;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

class IndexController extends AbstractController
class IndexController extends Controller
{
public function indexAction()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Exception;
use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestAfterExecuteRouteExceptionController
Expand All @@ -21,7 +21,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestAfterExecuteRouteExceptionController extends AbstractController
class DispatcherTestAfterExecuteRouteExceptionController extends Controller
{
public function initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestAfterExecuteRouteForwardController
Expand All @@ -20,7 +20,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestAfterExecuteRouteForwardController extends AbstractController
class DispatcherTestAfterExecuteRouteForwardController extends Controller
{
public function initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestBeforeExecuteRouteReturnFalseController
Expand All @@ -20,7 +20,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestAfterExecuteRouteReturnFalseController extends AbstractController
class DispatcherTestAfterExecuteRouteReturnFalseController extends Controller
{
public function initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Exception;
use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestBeforeExecuteRouteExceptionController
Expand All @@ -21,7 +21,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestBeforeExecuteRouteExceptionController extends AbstractController
class DispatcherTestBeforeExecuteRouteExceptionController extends Controller
{
public function initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestBeforeExecuteRouteForwardController
Expand All @@ -20,7 +20,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestBeforeExecuteRouteForwardController extends AbstractController
class DispatcherTestBeforeExecuteRouteForwardController extends Controller
{
public function initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestBeforeExecuteRouteReturnFalseController
Expand All @@ -20,7 +20,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestBeforeExecuteRouteReturnFalseController extends AbstractController
class DispatcherTestBeforeExecuteRouteReturnFalseController extends Controller
{
public function initialize()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Exception;
use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestDefaultController
Expand All @@ -21,7 +21,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestDefaultController extends AbstractController
class DispatcherTestDefaultController extends Controller
{
const RETURN_VALUE_STRING = 'string';
const RETURN_VALUE_INT = 5;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

// @codingStandardsIgnoreStart
use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

// @codingStandardsIgnoreSEnd

Expand All @@ -21,7 +21,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestDefaultNoNamespaceController extends AbstractController
class DispatcherTestDefaultNoNamespaceController extends Controller
{
const RETURN_VALUE_STRING = 'string';
const RETURN_VALUE_INT = 5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestDefaultSimpleController
Expand All @@ -20,7 +20,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestDefaultSimpleController extends AbstractController
class DispatcherTestDefaultSimpleController extends Controller
{
public function indexAction()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestDefaultTwoController
Expand All @@ -20,7 +20,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestDefaultTwoController extends AbstractController
class DispatcherTestDefaultTwoController extends Controller
{
public function beforeExecuteRoute()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Exception;
use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestInitializeExceptionController
Expand All @@ -21,7 +21,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestInitializeExceptionController extends AbstractController
class DispatcherTestInitializeExceptionController extends Controller
{
public function beforeExecuteRoute()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestInitializeForwardController
Expand All @@ -20,7 +20,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestInitializeForwardController extends AbstractController
class DispatcherTestInitializeForwardController extends Controller
{
public function beforeExecuteRoute()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Phalcon\Test\Integration\Mvc\Dispatcher\Helper;

use Phalcon\Mvc\Controller\AbstractController;
use Phalcon\Mvc\Controller;

/**
* \Phalcon\Test\Integration\Mvc\Dispatcher\Helper\DispatcherTestInitializeReturnFalseController
Expand All @@ -20,7 +20,7 @@
* through the world-wide-web, please send an email to [email protected]
* so that we can send you a copy immediately.
*/
class DispatcherTestInitializeReturnFalseController extends AbstractController
class DispatcherTestInitializeReturnFalseController extends Controller
{
public function beforeExecuteRoute()
{
Expand Down

0 comments on commit 4cccb8e

Please sign in to comment.