Skip to content

Commit

Permalink
TASK: Fix CachingHelperTest
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed May 12, 2024
1 parent 200c561 commit f893301
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Neos.Neos/Tests/Unit/Fusion/Helper/CachingHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

use Neos\ContentRepository\Core\Projection\ContentGraph\Node;
use Neos\ContentRepository\Core\Projection\ContentGraph\NodeTags;
use Neos\ContentRepository\Core\SharedModel\Node\NodeAddress;
use Neos\ContentRepository\Core\SharedModel\Workspace\WorkspaceName;
use Neos\ContentRepository\Domain\Model\Workspace;
use Neos\ContentRepository\Domain\Service\Context;
use Neos\Flow\Tests\UnitTestCase;
Expand Down Expand Up @@ -198,13 +200,18 @@ private function createNode(NodeAggregateId $nodeAggregateId): Node
{
$now = new \DateTimeImmutable();
return Node::create(
NodeAddress::create(
ContentRepositoryId::fromString("default"),
WorkspaceName::forLive(),
DimensionSpacePoint::createWithoutDimensions(),
$nodeAggregateId
),
ContentSubgraphIdentity::create(
ContentRepositoryId::fromString("default"),
ContentStreamId::fromString("cs-identifier"),
DimensionSpacePoint::createWithoutDimensions(),
VisibilityConstraints::withoutRestrictions()
),
$nodeAggregateId,
OriginDimensionSpacePoint::createWithoutDimensions(),
NodeAggregateClassification::CLASSIFICATION_REGULAR,
NodeTypeName::fromString("SomeNodeTypeName"),
Expand Down

0 comments on commit f893301

Please sign in to comment.