From e714f8583e96292db32f9cbcf1e03a3647db2e7c Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 24 Dec 2014 10:23:01 +0100 Subject: [PATCH] [Console] Move QuestionHelperTest to tty group --- src/Symfony/Bridge/Propel1/Tests/Fixtures/Column.php | 7 +------ .../Component/Console/Tests/Helper/QuestionHelperTest.php | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/Symfony/Bridge/Propel1/Tests/Fixtures/Column.php b/src/Symfony/Bridge/Propel1/Tests/Fixtures/Column.php index 399a8531a8..4e46f272e1 100644 --- a/src/Symfony/Bridge/Propel1/Tests/Fixtures/Column.php +++ b/src/Symfony/Bridge/Propel1/Tests/Fixtures/Column.php @@ -14,7 +14,7 @@ namespace Symfony\Bridge\Propel1\Tests\Fixtures; class Column extends \ColumnMap { private $name; - private $type; + protected $type; public function __construct($name, $type) { @@ -23,11 +23,6 @@ class Column extends \ColumnMap $this->phpName = ucfirst($name); } - public function getType() - { - return $this->type; - } - public function isText() { if (!$this->type) { diff --git a/src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php b/src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php index bba25375dc..ac360241ad 100644 --- a/src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php +++ b/src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php @@ -19,6 +19,9 @@ use Symfony\Component\Console\Question\ChoiceQuestion; use Symfony\Component\Console\Question\ConfirmationQuestion; use Symfony\Component\Console\Question\Question; +/** + * @group tty + */ class QuestionHelperTest extends \PHPUnit_Framework_TestCase { public function testAskChoice() @@ -125,9 +128,6 @@ class QuestionHelperTest extends \PHPUnit_Framework_TestCase $this->assertEquals('FooBundle', $dialog->ask($this->createInputInterfaceMock(), $this->createOutputInterface(), $question)); } - /** - * @group tty - */ public function testAskHiddenResponse() { if (defined('PHP_WINDOWS_VERSION_BUILD')) {