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

Adds test case for replicate method #212

Merged
merged 1 commit into from
Oct 26, 2021
Merged

Adds test case for replicate method #212

merged 1 commit into from
Oct 26, 2021

Conversation

eduarguz
Copy link
Contributor

@eduarguz eduarguz commented Oct 26, 2021

Adds a test that covers the case mentioned in #199

There is no issue with the replicate() method as a new slug is generated when the save() method is called.

Same thing happens when a new model is created, the slug will be generated when the save() method is called.

No changes, no bugs found.

Closes #199

#hacktoberfest -ing

@freekmurze freekmurze merged commit 87cf1bf into spatie:main Oct 26, 2021
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants