Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Dyan committed Aug 25, 2017
1 parent e6448b6 commit 503261e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_exec_php(self):
# Check for PHP Version
# TODO make it work under windows (problem with TTY)
if os.name != 'nt':
cmd = self.cmd_base + ['exec', 'php', 'php', '-v']
cmd = self.cmd_base + ['exec', '--no-tty', 'php', '--', 'php', '-v']
res = self._exec_cmd(cmd)
self.assertRegex(res['stdout'], '.*The PHP Group.*', 'stderr was : ' + res['stderr'])
self.assertEqual(res['stderr'], '')
Expand Down

0 comments on commit 503261e

Please sign in to comment.