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

Allow usage of FCQN instead of aliases in Faker provider #50

Merged
merged 1 commit into from
Apr 9, 2018
Merged

Allow usage of FCQN instead of aliases in Faker provider #50

merged 1 commit into from
Apr 9, 2018

Conversation

ostrolucky
Copy link
Contributor

This allows avoiding defining alias map if I want to use this provider

@@ -40,6 +45,9 @@ public function testRandomEnumMethodShouldReturnExpectedEnums()
$simple = $enumProvider->randomEnum('Simple');
$this->assertInstanceOf(SimpleEnum::class, $simple);

$gender = $enumProvider->enum('Elao\Enum\Tests\Fixtures\Enum\Gender::MALE');
Copy link
Member

@ogizanagi ogizanagi Apr 9, 2018

Choose a reason for hiding this comment

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

It's supposed to test randomEnum here 😄 (fixed in a15590d)

@ogizanagi
Copy link
Member

Thank you @ostrolucky.

@ogizanagi ogizanagi merged commit 98178a5 into Elao:master Apr 9, 2018
ogizanagi added a commit that referenced this pull request Apr 9, 2018
…(ostrolucky)

This PR was merged into the 1.x-dev branch.

Discussion
----------

Allow usage of FCQN instead of aliases in Faker provider

This allows avoiding defining alias map if I want to use this provider

Commits
-------

98178a5 Allow usage of FCQN instead of aliases in Faker provider
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.

2 participants