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

[Payment][PaymentBundle] Add immutable code to Payment entities #3666

Merged
merged 1 commit into from
Dec 10, 2015

Conversation

tuka217
Copy link
Contributor

@tuka217 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 -

@tuka217 tuka217 force-pushed the immutable-code-payment branch 6 times, most recently from e0594d4 to a03d127 Compare December 4, 2015 08:39
@tuka217 tuka217 changed the title [WIP][Payment][PaymentBundle] Add immutable code to Payment entities [Payment][PaymentBundle] Add immutable code to Payment entities Dec 4, 2015
@tuka217 tuka217 force-pushed the immutable-code-payment branch 4 times, most recently from bd85f66 to 454f8a3 Compare December 9, 2015 09:47
@@ -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
Copy link
Contributor

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

@tuka217 tuka217 force-pushed the immutable-code-payment branch 4 times, most recently from ee9b4c2 to 7c82aa4 Compare December 9, 2015 11:08
@pjedrzejewski
Copy link
Member

Please rebase.

@pjedrzejewski
Copy link
Member

@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'))
Copy link
Contributor

Choose a reason for hiding this comment

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

Argument::type(AddCodeFormSubscriber::class)

Copy link
Member

Choose a reason for hiding this comment

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

👍

…ce extends CodeAwareInterface

[PaymentBundle]  PaymentMethodType add AddCodeFormSubscriber to builder
pjedrzejewski pushed a commit that referenced this pull request Dec 10, 2015
[Payment][PaymentBundle] Add immutable code to Payment entities
@pjedrzejewski pjedrzejewski merged commit 6bdbdb0 into Sylius:master Dec 10, 2015
@pjedrzejewski
Copy link
Member

Thank you again Ania! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants