Skip to content

Commit 53241df

Browse files
Revert "minor #34608 [Process] add tests for php executable finder if file does not exist (ahmedash95)"
This reverts commit 5cacc5d, reversing changes made to f0a6de2.
1 parent 46eefa9 commit 53241df

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/Symfony/Component/Process/Tests/PhpExecutableFinderTest.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,4 @@ public function testFindArguments()
6969
$this->assertEquals($f->findArguments(), [], '::findArguments() returns no arguments');
7070
}
7171
}
72-
73-
public function testNotExitsBinaryFile()
74-
{
75-
$f = new PhpExecutableFinder();
76-
$phpBinaryEnv = PHP_BINARY;
77-
putenv('PHP_BINARY=/usr/local/php/bin/php-invalid');
78-
79-
$this->assertFalse($f->find(), '::find() returns false because of not exist file');
80-
$this->assertFalse($f->find(false), '::find(false) returns false because of not exist file');
81-
82-
putenv('PHP_BINARY='.$phpBinaryEnv);
83-
}
8472
}

0 commit comments

Comments
 (0)