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

fix: fix deprecation message for Factories trait #806

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

nikophil
Copy link
Member

@nikophil nikophil commented Feb 3, 2025

fixes #805

@nikophil nikophil force-pushed the fix/factory-trait-deprec branch from d85882b to 4f1ecd6 Compare February 3, 2025 08:35
@smnandre
Copy link
Contributor

smnandre commented Feb 3, 2025

Ho well.. i answered a deleted comment ^^

@smnandre
Copy link
Contributor

smnandre commented Feb 3, 2025

862x: Since zenstruck/foundry 2.4: In order to use Foundry correctly, you must use the trait "Zenstruck\Foundry\Test\Factories" in your "App\Tests\Integration\Repository\DossierRepositoryTest" tests. This will throw an exception in 3.0.
862x in DossierRepositoryTest::setUp from App\Tests\Integration\Repository

Perfect! 👏 Thanks

@nikophil
Copy link
Member Author

nikophil commented Feb 3, 2025

Ho well.. i answered a deleted comment

yeah I finally found out how to do this (with 4 \) 😁

@nikophil nikophil merged commit f76cba2 into 2.3.x Feb 3, 2025
132 checks passed
nikophil added a commit that referenced this pull request Feb 3, 2025
* 2.3.x:
  fix: fix deprecation message for Factories trait (#806)
@nikophil nikophil deleted the fix/factory-trait-deprec branch February 16, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants