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

Make fixtures easier to extend #1381

Merged
merged 1 commit into from
Apr 22, 2014

Conversation

umpirsky
Copy link
Contributor

No description provided.

@@ -59,6 +54,22 @@ public function load(ObjectManager $manager)
$manager->flush();
}

protected function createUser($email, $password, $enabled = true, array $roles = array('ROLE_USER'), $currency = 'EUR')
Copy link
Contributor

Choose a reason for hiding this comment

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

$currency & $roles are never used... you have hardcoded array('ROLE_SYLIUS_ADMIN') few lines below.

@umpirsky
Copy link
Contributor Author

@pjedrzejewski Ping.

pjedrzejewski pushed a commit that referenced this pull request Apr 22, 2014
@pjedrzejewski pjedrzejewski merged commit 90d30f8 into Sylius:master Apr 22, 2014
@pjedrzejewski
Copy link
Member

Thank you Sasha!

pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
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