-
Notifications
You must be signed in to change notification settings - Fork 203
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
EZP-31226: Added new integration test for embedded content #2922
EZP-31226: Added new integration test for embedded content #2922
Conversation
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.
Great to see your contributions already 🎉 💪
It's a good chance for me to explain a few things ;)
Naming conventions:
PR title should start with JIRA ticket number (e.g. EZP-0000
) followed by colon and a brief summary of what has been changed in the current codebase, in past simple. Copying titles from JIRA is not very useful for git history. They land in Release Notes in such form anyway.
The commits should follow the same convention, but if there's more than one commit, JIRA issue is not necessary there as they get squashed. Multiple commits which repeat the same message are useless. Please state what you did per commit.
In general, providing RichText-based tests here is a maintenance issue, which I've explained in one of the following diff comments.
eZ/Publish/API/Repository/Tests/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
a726da4
to
1cb1bdb
Compare
Thank you for your accurate comment @alongosz , it is really helpful ! |
1cb1bdb
to
fa7ecc2
Compare
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchServiceFulltextEmbedTest.php
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.
More review (github interface is broken, sorry):
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFulltextEmbedTest.php
Outdated
Show resolved
Hide resolved
4d28c9e
to
9c5c4df
Compare
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.
Looks almost good, one more request:
eZ/Publish/API/Repository/Tests/SearchService/SearchServiceFullTextEmbedTest.php
Outdated
Show resolved
Hide resolved
9c5c4df
to
06fa787
Compare
@michal-myszka have you verified the CI failure here as well? |
@micszo @michal-myszka Rebase is needed here. See #2928 |
…nQuery is in use // debug
…ignore file, better fitted variable name for embedded article in test
06fa787
to
f80b953
Compare
I've made rebase, but this will take an effect on |
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.
Tested together with ezsystems/ezplatform-solr-search-engine#165.
7.5
Solution for reported bug:
https://jira.ez.no/browse/EZP-31226
Fixed missing "depth" parameters and added new test for fulltext search for embed content
Changes also in ezplatform-solr-search-engine (ezsystems/ezplatform-solr-search-engine#165)
TODO:
$ composer fix-cs
).