-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Deleting disabled category forces category flat and catalog search re-indexed fully #32082
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
Deleting disabled category forces category flat and catalog search re-indexed fully #32082
Conversation
…dex_issue' into 23297
@magento run all tests |
7534ce5
to
a958272
Compare
a958272
to
882e719
Compare
@magento run all tests |
@magento give me 2.4-develop instance |
Hi @danielrussob. Thank you for your request. I'm working on Magento instance for you. |
@magento give me test instance |
Hi @danielrussob. Thank you for your request. I'm working on Magento instance for you. |
Hi @danielrussob, here is your Magento Instance: https://65c3d1030c316eafdf0cd8cd74bf10e7.instances.magento-community.engineering |
Hi @danielrussob, here is your Magento Instance: https://65c3d1030c316eafdf0cd8cd74bf10e7-2-4-develop.instances.magento-community.engineering |
public function testDeleteInactiveCategory(): void | ||
{ | ||
$this->indexer->reindexAll(); | ||
$indexerShouldBeValid = $this->indexer->isInvalid(); |
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.
Hello @engcom-Charlie thanks for your contribution!
The name of $indexerShouldBeValid
variable wasn't very intuitive to me, it didn't give me the idea that we were getting the state of the indexer.
What about renaming with something like $isInvalidIndexer
?
This way the assertion $this->assertFalse($isInvalidIndexer)
becomes more readable too.
What do you think?
@magento run all tests |
Hi @aleron75, thank you for the review. |
✔️ QA Passed The result is the same as in the report above #32082 (comment) |
…log search re-indexed fully #32082
Hi @engcom-Charlie, thank you for your contribution! |
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)