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

Factory support #64

Merged
merged 4 commits into from
Jun 12, 2024
Merged

Factory support #64

merged 4 commits into from
Jun 12, 2024

Conversation

Temepest74
Copy link
Contributor

My problem was discussed here: #63 and this should fix it.
I created a new MustBeApprovedFactory trait that is required on any factory for this:

FakeModel::factory()->withoutApproval()->create()

to work.

@Temepest74
Copy link
Contributor Author

@cjmellor could you take a look?

@cjmellor cjmellor self-assigned this Jun 12, 2024
@cjmellor cjmellor added the enhancement New feature or request label Jun 12, 2024
@cjmellor cjmellor merged commit d8f44a5 into cjmellor:main Jun 12, 2024
5 checks passed
@cjmellor
Copy link
Owner

cjmellor commented Jun 12, 2024

Nice one, cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants