Skip to content

Commit 517f263

Browse files
committed
Add extra linefeeds to input stream to mimic empty answers
1 parent 75845b9 commit 517f263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Command/GenerateCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function getBundle()
4343
protected function getInputStream($input)
4444
{
4545
$stream = fopen('php://memory', 'r+', false);
46-
fputs($stream, $input);
46+
fputs($stream, $input.str_repeat("\n", 10));
4747
rewind($stream);
4848

4949
return $stream;

0 commit comments

Comments
 (0)