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

[BUG] The hostname resolver does not check for the channel status #14155

Merged
merged 6 commits into from Jul 18, 2022
Merged

[BUG] The hostname resolver does not check for the channel status #14155

merged 6 commits into from Jul 18, 2022

Conversation

jakubtobiasz
Copy link
Member

Q A
Branch? 1.11
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? yes
Related tickets continuation of #13697
License MIT

What has been done:

  • Updated behats (In my opinion now they're now a little bit more natural to read)
  • I rebased the PR on top 1.11 and updated the UPGRADE-1.11.md and the UPGRADE-1.10.md files

We've had a discussion about parametrizing the HostnameBasedRequestResolver (what I've done btw 😂) but we decided to drop that idea and keep the original concept.

Thank you @lruozzi9 for your PR we could base on :).

@jakubtobiasz jakubtobiasz requested a review from a team as a code owner July 15, 2022 11:04
@probot-autolabeler probot-autolabeler bot added the Maintenance CI configurations, READMEs, releases, etc. label Jul 15, 2022
@jakubtobiasz jakubtobiasz added the Bug Confirmed bugs or bugfixes. label Jul 15, 2022
Copy link
Contributor

@lruozzi9 lruozzi9 left a comment

Choose a reason for hiding this comment

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

Thanks, @jakubtobiasz!

@jakubtobiasz
Copy link
Member Author

@lchrusciel I've changed a little the scenario to add API easier. I hope it still sounds good :).

*/
public function iShouldNotSeeProduct(string $productName): void
{
Assert::true(!in_array($productName, $this->homePage->getLatestProductsNames()));
Copy link
Member

Choose a reason for hiding this comment

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

I'm genuinely surprised there is no Assert::notInArray 😱

@Zales0123 Zales0123 merged commit 9c8395d into Sylius:1.11 Jul 18, 2022
@Zales0123
Copy link
Member

Thank you, Jakub! 🎉

coldic3 added a commit that referenced this pull request Nov 29, 2022
This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.11|
| Bug fix?        | yes                                                       |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no|
| Related tickets | after #14155
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.11 or 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

19db727 [Behat][API] Add missing channels suite to imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bugs or bugfixes. Maintenance CI configurations, READMEs, releases, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants