Skip to content

Commit

Permalink
[TESTS] Update unit tests for PublishFileInstructions
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexvaar committed Nov 1, 2023
1 parent 31d2fe9 commit 634d10b
Show file tree
Hide file tree
Showing 4 changed files with 302 additions and 166 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

declare(strict_types=1);

namespace In2code\In2publishCore\Tests\Unit\Component\Core\Publisher;

use In2code\In2publishCore\Tests\UnitTestCase;
use ReflectionProperty;

abstract class AbstractFilesystemPublisherTest extends UnitTestCase
{
protected function getRequestTokenFromPublisher($filesystemRecordPublisher)
{
$reflectionProperty = new ReflectionProperty($filesystemRecordPublisher, 'requestToken');
$reflectionProperty->setAccessible(true);
return $reflectionProperty->getValue($filesystemRecordPublisher);
}
}
Loading

0 comments on commit 634d10b

Please sign in to comment.