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

feat: add ability to indicate the number of contacts in seeders #3585

Merged
merged 6 commits into from
Feb 15, 2020

Conversation

djaiss
Copy link
Member

@djaiss djaiss commented Feb 14, 2020

This PR adds the ability to specify the number of contacts that are generated using the seeder for tests account. Before, we only had between 60 and 100 contacts in a test account. Now, with this change, you can have any number of contacts.

Because we need to ask for the number of contacts, we should run the FakeContentTableSeeder in a command.

This is why all the code from FakeContentTableSeeder has been moved to the SetupTest command.

@asbiin this is an important change, but not a complex one.

@djaiss djaiss changed the title tests: add ability to indicate the number of contacts in seeders feat: add ability to indicate the number of contacts in seeders Feb 14, 2020
@asbiin
Copy link
Member

asbiin commented Feb 15, 2020

Oh great, it's been a long time I wanted to do this 😊

@sonarcloud
Copy link

sonarcloud bot commented Feb 15, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 79 Security Hotspots to review)
Code Smell A 7 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@djaiss djaiss merged commit 0d60218 into master Feb 15, 2020
@djaiss djaiss deleted the 2020-02-14-more-tests branch February 15, 2020 19:31
@github-actions
Copy link

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants