Skip to content

David Ogar#70

Merged
bodiam merged 6 commits intodatafaker-net:masterfrom
The-True-Hooha:David-Ogar
Mar 3, 2022
Merged

David Ogar#70
bodiam merged 6 commits intodatafaker-net:masterfrom
The-True-Hooha:David-Ogar

Conversation

@The-True-Hooha
Copy link
Copy Markdown
Contributor

Added Nigeria to the list of providers

@Test
public void locations() {
assertThat(faker.australia().locations(), not(is(emptyOrNullString())));
public void locations() { assertThat(faker.australia().locations(), not(is(emptyOrNullString())));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Misformatted

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I made the corresponding format changes locally, please check my last commit to see if it's corrected.

Apologies.

@bodiam bodiam merged commit 6b0936c into datafaker-net:master Mar 3, 2022
@bodiam
Copy link
Copy Markdown
Contributor

bodiam commented Mar 3, 2022

@The-True-Hooha Thanks David, PR has been merged, most likely will be released over the weekend!!


protected Nigeria(Faker faker) {
this.faker = faker;
faker.fakeValuesService().addPath(Locale.ENGLISH, Paths.get("src/main/resources/en/nigeria.yml"));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@bodiam @The-True-Hooha I know this PR has already been merged, but this location is still wrong. I guess we need to come up with a test that actually prevents building a JAR whenever this shows up, because the test will succeed but the actual JAR will not.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ah, thanks for letting me know, I even added an extra test to Faker It for this. No worries, I'll fix it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's fixed, I removed this code, I already registered the yml file in the central spot.

Copy link
Copy Markdown
Contributor

@alesaudate alesaudate left a comment

Choose a reason for hiding this comment

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

See latest comment

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.

3 participants