[Console] Move QuestionHelperTest to tty group

This commit is contained in:
Nicolas Grekas 2014-12-24 10:23:01 +01:00
parent 0ec80c6d1f
commit e714f8583e
2 changed files with 4 additions and 9 deletions

View File

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

View File

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