-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Core][Shipping] Fix estimated shipping costs #13769
Conversation
coldic3
commented
Mar 15, 2022
Q | A |
---|---|
Branch? | 1.10 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Related tickets | fixes #12554, #13123, related to #13126 |
License | MIT |
786c7e6
to
e3e3bb7
Compare
.../applying_shipping_method_rules/seeing_estimated_shipping_cost_based_on_total_weight.feature
Outdated
Show resolved
Hide resolved
.../applying_shipping_method_rules/seeing_estimated_shipping_cost_based_on_total_weight.feature
Outdated
Show resolved
Hide resolved
eb837d6
to
2c3d6ed
Compare
2c3d6ed
to
6543f28
Compare
src/Sylius/Bundle/CoreBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
...g/applying_shipping_method_rules/seeing_estimated_shipping_cost_based_on_order_total.feature
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/CoreBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreConfigurationTest.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreExtensionTest.php
Outdated
Show resolved
Hide resolved
6543f28
to
3333d07
Compare
src/Sylius/Bundle/CoreBundle/Tests/DependencyInjection/SyliusCoreConfigurationTest.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/CoreBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
a8083db
to
d790944
Compare
{ | ||
$this->expectException(InvalidTypeException::class); | ||
|
||
(new PartialProcessor())->processConfiguration( |
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.
Why this way?
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.
The exception message is different depending on the Symfony version. I was looking for a solution to just throw this error by setting an invalid configuration and then check if the exception class is the same.
Thanks, Kevin! 🥇 |
…ecalculating prices (coldic3) This PR was merged into the 1.10 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | 1.10 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Related tickets | #13769 | License | MIT Commits ------- 7b2ad4f [Core][Shipping] Deprecate processing shipments before recalculating prices