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

[OAuth][Login] Fix oauth login #4476

Merged
merged 3 commits into from
Mar 15, 2016
Merged

[OAuth][Login] Fix oauth login #4476

merged 3 commits into from
Mar 15, 2016

Conversation

gperdomor
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets -
License MIT
Doc PR -

This fix the oauth login/registration

@gperdomor
Copy link
Contributor Author

Because this create a customer, maybe we need fire sylius.customer.register event. WDYT?

@@ -154,6 +154,7 @@ function it_should_create_new_user_when_none_was_found(
$response->getEmail()->willReturn(null);
$response->getUsername()->willReturn('username');
$response->getNickname()->willReturn('user');
$response->getRealName()->willReturn('Name');
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing $customer->setFirstName('Name')->shouldBeCalled()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done :)

michalmarcinkowski added a commit that referenced this pull request Mar 15, 2016
@michalmarcinkowski michalmarcinkowski merged commit e79353a into Sylius:master Mar 15, 2016
@michalmarcinkowski
Copy link
Contributor

Thank you @gperdomor 👍

@gperdomor gperdomor deleted the feature/fix-oauth-login branch March 19, 2016 22:57
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

3 participants