Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUGFIX: Fix Subtree tagging CTE implementation #5026

Merged
merged 1 commit into from
May 4, 2024

Conversation

bwaidelich
Copy link
Member

@bwaidelich bwaidelich commented May 2, 2024

and make tests more reliable by sorting tags

will be part of #5025

and make tests more reliable by sorting tags
sort($explicitTags);
$inheritedTags = $subtree->node->tags->onlyInherited()->toStringArray();
sort($inheritedTags);
$tags = [...array_map(static fn(string $tag) => $tag . '*', $explicitTags), ...$inheritedTags];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just sorts the tags to make the tests independent of the actual order

@nezaniel nezaniel merged commit 22ced03 into 4993-fixMoveSubtreeTags May 4, 2024
3 checks passed
@nezaniel nezaniel deleted the 4993-fixMoveSubtreeTags-amend branch May 4, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants