Skip to content

[Console] Use console exception for missing input #20376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Nov 1, 2016

Q A
Branch? 2.8
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

@chalasr chalasr force-pushed the console/questionhelper_domain_exception branch from dd49822 to 2e62a00 Compare November 1, 2016 19:52
@chalasr chalasr changed the base branch from master to 2.8 November 1, 2016 19:52
@chalasr chalasr force-pushed the console/questionhelper_domain_exception branch from 2e62a00 to 07651e2 Compare November 1, 2016 20:15
public function testAskThrowsExceptionOnMissingInput()
{
$dialog = new QuestionHelper();
$dialog->setInputStream($this->getInputStream(''));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be careful when merging, this method has been deprecated so we need to remove this line and change $this->createInputInterfaceMock() by $this->createStreamableInputInterfaceMock($this->getInputStream('')) below.

@chalasr
Copy link
Member Author

chalasr commented Nov 2, 2016

Combined with #20377

@chalasr chalasr closed this Nov 2, 2016
@chalasr chalasr deleted the console/questionhelper_domain_exception branch November 2, 2016 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants