Skip to content

Commit da52d9a

Browse files
committed
Update unit tests to work with new hook environment variable names
1 parent 485ae36 commit da52d9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Stecman/Component/Symfony/Console/BashCompletion/CompletionContextTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public function testCursorPosition()
5555

5656
public function testConfigureFromEnvironment()
5757
{
58-
putenv("COMP_LINE=beam up li");
59-
putenv('COMP_POINT=10');
58+
putenv("CMDLINE_CONTENTS=beam up li");
59+
putenv('CMDLINE_CURSOR_INDEX=10');
6060

6161
$context = new EnvironmentCompletionContext();
6262

0 commit comments

Comments
 (0)