We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc56ac commit 0b628daCopy full SHA for 0b628da
tests/Unit/InstallerTest.php
@@ -11,8 +11,17 @@ public function testBinariesInstallation()
11
unlink($file);
12
}
13
14
+ // Check binaries install after deletion
15
Installer::installBinaries();
16
+ $this->checkBinariesAreInstalled();
17
+
18
+ // Check binaries remain installed if call is made a second time
19
+ Installer::installBinaries();
20
21
+ }
22
23
+ private function checkBinariesAreInstalled()
24
+ {
25
$files = glob(__DIR__.'/../../bin/*');
26
27
array_walk($files, function(&$value) {
@@ -24,7 +33,6 @@ public function testBinariesInstallation()
33
foreach($expectedFiles as $expectedFile) {
34
$this->assertContains($expectedFile, $files);
35
-
28
36
29
37
30
38
0 commit comments