From 52dd35c829eba1679e54de31f8910340f8c3573e Mon Sep 17 00:00:00 2001 From: Christoph Kappestein Date: Sat, 29 Nov 2014 18:20:06 +0100 Subject: [PATCH] use command test case --- tests/PSX/Console/ContainerCommandTest.php | 3 ++- tests/PSX/Console/Generate/ApiCommandTest.php | 3 ++- tests/PSX/Console/Generate/BootstrapCacheCommandTest.php | 3 ++- tests/PSX/Console/Generate/CommandCommandTest.php | 3 ++- tests/PSX/Console/Generate/ControllerCommandTest.php | 3 ++- tests/PSX/Console/Generate/SchemaCommandTest.php | 3 ++- tests/PSX/Console/Generate/TableCommandTest.php | 3 ++- tests/PSX/Console/Generate/ViewCommandTest.php | 3 ++- tests/PSX/Console/RouteCommandTest.php | 3 ++- 9 files changed, 18 insertions(+), 9 deletions(-) diff --git a/tests/PSX/Console/ContainerCommandTest.php b/tests/PSX/Console/ContainerCommandTest.php index 9a43c316..d659d15e 100644 --- a/tests/PSX/Console/ContainerCommandTest.php +++ b/tests/PSX/Console/ContainerCommandTest.php @@ -23,6 +23,7 @@ namespace PSX\Console; +use PSX\Test\CommandTestCase; use Symfony\Component\Console\Tester\CommandTester; /** @@ -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() { diff --git a/tests/PSX/Console/Generate/ApiCommandTest.php b/tests/PSX/Console/Generate/ApiCommandTest.php index 10f21022..902b788d 100644 --- a/tests/PSX/Console/Generate/ApiCommandTest.php +++ b/tests/PSX/Console/Generate/ApiCommandTest.php @@ -23,6 +23,7 @@ namespace PSX\Console\Generate; +use PSX\Test\CommandTestCase; use Symfony\Component\Console\Tester\CommandTester; /** @@ -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() { diff --git a/tests/PSX/Console/Generate/BootstrapCacheCommandTest.php b/tests/PSX/Console/Generate/BootstrapCacheCommandTest.php index 32b8b39d..00c0f8f6 100644 --- a/tests/PSX/Console/Generate/BootstrapCacheCommandTest.php +++ b/tests/PSX/Console/Generate/BootstrapCacheCommandTest.php @@ -23,6 +23,7 @@ namespace PSX\Console\Generate; +use PSX\Test\CommandTestCase; use Symfony\Component\Console\Tester\CommandTester; /** @@ -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() { diff --git a/tests/PSX/Console/Generate/CommandCommandTest.php b/tests/PSX/Console/Generate/CommandCommandTest.php index ac73efd7..ce02fa1c 100644 --- a/tests/PSX/Console/Generate/CommandCommandTest.php +++ b/tests/PSX/Console/Generate/CommandCommandTest.php @@ -23,6 +23,7 @@ namespace PSX\Console\Generate; +use PSX\Test\CommandTestCase; use Symfony\Component\Console\Tester\CommandTester; /** @@ -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() { diff --git a/tests/PSX/Console/Generate/ControllerCommandTest.php b/tests/PSX/Console/Generate/ControllerCommandTest.php index 7bed956d..f2bd404a 100644 --- a/tests/PSX/Console/Generate/ControllerCommandTest.php +++ b/tests/PSX/Console/Generate/ControllerCommandTest.php @@ -23,6 +23,7 @@ namespace PSX\Console\Generate; +use PSX\Test\CommandTestCase; use Symfony\Component\Console\Tester\CommandTester; /** @@ -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() { diff --git a/tests/PSX/Console/Generate/SchemaCommandTest.php b/tests/PSX/Console/Generate/SchemaCommandTest.php index 892b4acc..e83b7733 100644 --- a/tests/PSX/Console/Generate/SchemaCommandTest.php +++ b/tests/PSX/Console/Generate/SchemaCommandTest.php @@ -23,6 +23,7 @@ namespace PSX\Console\Generate; +use PSX\Test\CommandTestCase; use Symfony\Component\Console\Tester\CommandTester; /** @@ -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() { diff --git a/tests/PSX/Console/Generate/TableCommandTest.php b/tests/PSX/Console/Generate/TableCommandTest.php index b4fca703..70dd8027 100644 --- a/tests/PSX/Console/Generate/TableCommandTest.php +++ b/tests/PSX/Console/Generate/TableCommandTest.php @@ -23,6 +23,7 @@ namespace PSX\Console\Generate; +use PSX\Test\CommandTestCase; use Symfony\Component\Console\Tester\CommandTester; /** @@ -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() { diff --git a/tests/PSX/Console/Generate/ViewCommandTest.php b/tests/PSX/Console/Generate/ViewCommandTest.php index e568f20e..3f5b3fc4 100644 --- a/tests/PSX/Console/Generate/ViewCommandTest.php +++ b/tests/PSX/Console/Generate/ViewCommandTest.php @@ -23,6 +23,7 @@ namespace PSX\Console\Generate; +use PSX\Test\CommandTestCase; use Symfony\Component\Console\Tester\CommandTester; /** @@ -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() { diff --git a/tests/PSX/Console/RouteCommandTest.php b/tests/PSX/Console/RouteCommandTest.php index 4248dcc7..e532c25e 100644 --- a/tests/PSX/Console/RouteCommandTest.php +++ b/tests/PSX/Console/RouteCommandTest.php @@ -23,6 +23,7 @@ namespace PSX\Console; +use PSX\Test\CommandTestCase; use Symfony\Component\Console\Tester\CommandTester; /** @@ -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() {