Skip to content

Commit

Permalink
Fix tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
denisyukphp committed May 16, 2024
1 parent 7612793 commit 4c379e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
use Symfony\Component\Process\ExecutableFinder;
use Symfony\Component\Process\Process;

/**
* @requires OS Linux
*/
final class AsyncProcessor implements ProcessorInterface
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use Symfony\Component\Filesystem\Filesystem as Fs;
use TmpFileManager\Handler\GarbageCollectionHandler\Processor\AsyncProcessor;

/**
* @requires OS Linux
*/
final class AsyncProcessorTest extends TestCase
{
public function testSyncProcessor(): void
Expand Down
6 changes: 6 additions & 0 deletions tests/TmpFileMangerBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

final class TmpFileMangerBuilderTest extends TestCase
{
/**
* @requires OS Linux
*/
public function testBuildWithTmpFileDir(): void
{
$tmpFileManager = (new TmpFileManagerBuilder())
Expand All @@ -29,6 +32,9 @@ public function testBuildWithTmpFileDir(): void
$this->assertStringStartsWith(sys_get_temp_dir(), $tmpFile->getFilename());
}

/**
* @requires OS Linux
*/
public function testBuildWithTmpFilePrefix(): void
{
$tmpFileManager = (new TmpFileManagerBuilder())
Expand Down

0 comments on commit 4c379e5

Please sign in to comment.