Skip to content

Commit

Permalink
Merge pull request #4881 from mhsdesign/task/removeNodeSubjectProvider
Browse files Browse the repository at this point in the history
TASK: Declare `NodeSubjectProvider` as internal/wip testing utility with no guarantees
  • Loading branch information
mhsdesign authored Feb 7, 2024
2 parents df01c74 + 39cf8ad commit ef3e4d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@
* The general provider class for node subjects.
* Capable of creating all kinds of nodes to be used in unit tests.
*
* @api
* @internal this WIP helper is purely experimental and only to be used internally
* behaviour or api may change at any time.
* Generally It's advised to prefer behat testing over unit tests for complex cases,
* like when interacting with the NodeType or the Subgraph or other parts of the CR.
*/
final class NodeSubjectProvider
{
Expand Down
2 changes: 1 addition & 1 deletion Neos.Neos/Tests/Functional/Fusion/NodeHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected function buildView()

protected function setUp(): void
{
$this->markTestSkipped('Skipped until we find a better way to mock node read models (see https://github.com/neos/neos-development-collection/issues/4317)');
$this->markTestSkipped('Skipped. Either migrate to behat or find a better way to mock node read models. See https://github.com/neos/neos-development-collection/issues/4317');
parent::setUp();
$nodeSubjectProvider = new NodeSubjectProvider();

Expand Down

0 comments on commit ef3e4d2

Please sign in to comment.