Skip to content

Commit 53e5996

Browse files
committed
Fixed tests
1 parent 73830b8 commit 53e5996

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/Command/BuildDocsCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ public function testBuildDocsForPdf()
5959
$fs = new Filesystem();
6060
if ($fs->exists($buildConfig->getOutputDir())) {
6161
$fs->remove($buildConfig->getOutputDir());
62-
$fs->mkdir($buildConfig->getOutputDir());
6362
}
63+
$fs->mkdir($buildConfig->getOutputDir());
6464

6565
$output = $this->executeCommand(
6666
$buildConfig,

tests/IntegrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public function setUp(): void
3939
public function testIntegration(string $folder)
4040
{
4141
$fs = new Filesystem();
42-
$fs->remove(__DIR__.'/_output');
43-
$fs->mkdir(__DIR__.'/_output');
42+
$fs->remove([__DIR__.'/_output', __DIR__.'/_cache']);
43+
$fs->mkdir([__DIR__.'/_output', __DIR__.'/_cache']);
4444

4545
$buildConfig = $this->createBuildConfig(sprintf('%s/fixtures/source/%s', __DIR__, $folder));
4646

0 commit comments

Comments
 (0)