Skip to content

Commit 60d003b

Browse files
authored
Merge pull request #95 from clue-labs/tests-without-readline
Refactor executing functional tests without ext-readline
2 parents 306886e + 911cb29 commit 60d003b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/FunctionalExampleTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ public function testStubCanEndWithoutOutput()
9696
$this->assertEquals('', $output);
9797
}
9898

99-
public function testStubCanEndWithoutExtensions()
99+
public function testStubCanEndWithoutReadlineFunctions()
100100
{
101-
$output = $this->execExample('php -n ../tests/stub/04-end.php');
101+
$output = $this->execExample('php -d disable_functions=readline_callback_handler_install,readline_callback_handler_remove ../tests/stub/04-end.php');
102102

103103
$this->assertEquals('', $output);
104104
}

0 commit comments

Comments
 (0)