-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
TASK: Fix testsuite for simple use cases (in phpunit) #5346
TASK: Fix testsuite for simple use cases (in phpunit) #5346
Conversation
b36eba6
to
298080d
Compare
Neos.ContentRepository.BehavioralTests/Configuration/Settings.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your work on this. I can imagine, it wasn't joyful :)
It's not an easy pr to review (especially on a phone screen).
So just a mini comment and the question: shouldn't we replace all the Gherkin...
fakes? They always made me wonder why we don't translate the input
298080d
to
3c20365
Compare
Ha thanks for the attempted early review. This was planned as a followup to #5344 but i hadnt rebased so far. The diff is now way more precise. |
# Conflicts: # Neos.ContentRepository.BehavioralTests/Configuration/Settings.yaml # Neos.ContentRepository.BehavioralTests/Configuration/Testing/Behat/Settings.ContentRepositoryRegistry.yaml # Neos.ContentRepository.LegacyNodeMigration/Tests/Behavior/Bootstrap/FeatureContext.php # Neos.ContentRepository.TestSuite/Classes/Behavior/Features/Bootstrap/CRTestSuiteRuntimeVariables.php # Neos.ContentRepository.TestSuite/Classes/Fakes/FakeUserIdProvider.php # Neos.ContentRepository.TestSuite/Classes/Fakes/FakeUserIdProviderFactory.php
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go for merge
…tter document use-case
…eded for testing Instead, we replace the node type manager and rebuild the content repository. See `iChangeTheNodeTypesInContentRepositoryTo` and `FakeNodeTypeManagerFactory`
Followup to #5344 to remove behat specific logic from test fakes so they can be used in php unit tests easily.
Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions