-
-
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
[Payment][PaymentBundle] Add immutable code to Payment entities #3666
Conversation
tuka217
commented
Dec 2, 2015
Q | A |
---|---|
Bug fix? | no |
New feature? | yes |
BC breaks? | yes |
Deprecations? | no |
Fixed tickets | #3639, #3617 |
License | MIT |
Doc PR | - |
e0594d4
to
a03d127
Compare
bd85f66
to
454f8a3
Compare
@@ -128,3 +132,15 @@ Feature: Payment methods | |||
And I click "delete" from the confirmation modal | |||
Then I should still be on the payment method index page | |||
And I should not see payment method with name "PayPal" in that list | |||
|
|||
Scenario: Cannot update shipping method code |
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.
I suppose you meant payment method
😉 Same below
ee9b4c2
to
7c82aa4
Compare
Please rebase. |
7c82aa4
to
64905eb
Compare
@tuka217 Could you reduce this PR to a single commit? If rebase did not help then you maybe need to cherry-pick the last commit - it will be easier. I see 4 commits which should not be part of this PR. |
@@ -73,6 +73,11 @@ function it_builds_form_with_proper_fields( | |||
->shouldBeCalled() | |||
; | |||
|
|||
$builder | |||
->addEventSubscriber(Argument::type('Sylius\Bundle\ResourceBundle\Form\EventSubscriber\AddCodeFormSubscriber')) |
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.
Argument::type(AddCodeFormSubscriber::class)
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.
👍
64905eb
to
9777952
Compare
…ce extends CodeAwareInterface [PaymentBundle] PaymentMethodType add AddCodeFormSubscriber to builder
9777952
to
80aa11d
Compare
[Payment][PaymentBundle] Add immutable code to Payment entities
Thank you again Ania! :) |