[Console] Move QuestionHelperTest to tty group
This commit is contained in:
parent
0ec80c6d1f
commit
e714f8583e
@ -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) {
|
||||
|
@ -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')) {
|
||||
|
Reference in New Issue
Block a user