Skip to content

Commit

Permalink
use command test case
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Nov 29, 2014
1 parent fe87dfd commit 52dd35c
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion tests/PSX/Console/ContainerCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

namespace PSX\Console;

use PSX\Test\CommandTestCase;
use Symfony\Component\Console\Tester\CommandTester;

/**
Expand All @@ -32,7 +33,7 @@
* @license http://www.gnu.org/licenses/gpl.html GPLv3
* @link http://phpsx.org
*/
class ContainerCommandTest extends \PHPUnit_Framework_TestCase
class ContainerCommandTest extends CommandTestCase
{
public function testCommand()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PSX/Console/Generate/ApiCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

namespace PSX\Console\Generate;

use PSX\Test\CommandTestCase;
use Symfony\Component\Console\Tester\CommandTester;

/**
Expand All @@ -32,7 +33,7 @@
* @license http://www.gnu.org/licenses/gpl.html GPLv3
* @link http://phpsx.org
*/
class ApiCommandTest extends \PHPUnit_Framework_TestCase
class ApiCommandTest extends CommandTestCase
{
public function testCommand()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PSX/Console/Generate/BootstrapCacheCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

namespace PSX\Console\Generate;

use PSX\Test\CommandTestCase;
use Symfony\Component\Console\Tester\CommandTester;

/**
Expand All @@ -32,7 +33,7 @@
* @license http://www.gnu.org/licenses/gpl.html GPLv3
* @link http://phpsx.org
*/
class BootstrapCacheCommandTest extends \PHPUnit_Framework_TestCase
class BootstrapCacheCommandTest extends CommandTestCase
{
public function testCommand()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PSX/Console/Generate/CommandCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

namespace PSX\Console\Generate;

use PSX\Test\CommandTestCase;
use Symfony\Component\Console\Tester\CommandTester;

/**
Expand All @@ -32,7 +33,7 @@
* @license http://www.gnu.org/licenses/gpl.html GPLv3
* @link http://phpsx.org
*/
class CommandCommandTest extends \PHPUnit_Framework_TestCase
class CommandCommandTest extends CommandTestCase
{
public function testCommand()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PSX/Console/Generate/ControllerCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

namespace PSX\Console\Generate;

use PSX\Test\CommandTestCase;
use Symfony\Component\Console\Tester\CommandTester;

/**
Expand All @@ -32,7 +33,7 @@
* @license http://www.gnu.org/licenses/gpl.html GPLv3
* @link http://phpsx.org
*/
class ControllerCommandTest extends \PHPUnit_Framework_TestCase
class ControllerCommandTest extends CommandTestCase
{
public function testCommand()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PSX/Console/Generate/SchemaCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

namespace PSX\Console\Generate;

use PSX\Test\CommandTestCase;
use Symfony\Component\Console\Tester\CommandTester;

/**
Expand All @@ -32,7 +33,7 @@
* @license http://www.gnu.org/licenses/gpl.html GPLv3
* @link http://phpsx.org
*/
class SchemaCommandTest extends \PHPUnit_Framework_TestCase
class SchemaCommandTest extends CommandTestCase
{
public function testCommand()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PSX/Console/Generate/TableCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

namespace PSX\Console\Generate;

use PSX\Test\CommandTestCase;
use Symfony\Component\Console\Tester\CommandTester;

/**
Expand All @@ -32,7 +33,7 @@
* @license http://www.gnu.org/licenses/gpl.html GPLv3
* @link http://phpsx.org
*/
class TableCommandTest extends \PHPUnit_Framework_TestCase
class TableCommandTest extends CommandTestCase
{
public function testCommand()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PSX/Console/Generate/ViewCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

namespace PSX\Console\Generate;

use PSX\Test\CommandTestCase;
use Symfony\Component\Console\Tester\CommandTester;

/**
Expand All @@ -32,7 +33,7 @@
* @license http://www.gnu.org/licenses/gpl.html GPLv3
* @link http://phpsx.org
*/
class ViewCommandTest extends \PHPUnit_Framework_TestCase
class ViewCommandTest extends CommandTestCase
{
public function testCommand()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PSX/Console/RouteCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

namespace PSX\Console;

use PSX\Test\CommandTestCase;
use Symfony\Component\Console\Tester\CommandTester;

/**
Expand All @@ -32,7 +33,7 @@
* @license http://www.gnu.org/licenses/gpl.html GPLv3
* @link http://phpsx.org
*/
class RouteCommandTest extends \PHPUnit_Framework_TestCase
class RouteCommandTest extends CommandTestCase
{
public function testCommand()
{
Expand Down

0 comments on commit 52dd35c

Please sign in to comment.