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 10ff373 commit a203190Copy full SHA for a203190
1 file changed
tests/Composer/ComposerTest.php
@@ -36,6 +36,13 @@ public function setUp(): void
36
37
public function tearDown(): void
38
{
39
+ // If the test was skipped, avoid trying to clean up. The setUp would've never happened.
40
+ if (! $this->files) {
41
+ parent::tearDown();
42
+
43
+ return;
44
+ }
45
46
$this->files->deleteDirectory($this->basePath('tmp'));
47
$this->files->deleteDirectory($this->basePath('vendor'));
48
$this->files->delete($this->basePath('composer.json'));
0 commit comments