Support the ongoing development of Laravel.io →
Database Eloquent Installation
Last updated 2 years ago.
0

@Stubbs Hi I am having the same issue, however I've found that when not using the setUp() method then this problem goes away. I have tried parent::setUp() as suggested on the Laracasts forum: https://laracasts.com/discuss/channels/testing/unable-to-locate-factory-with-name-default-appuser unfortunately this did not work for me. Have you perhaps found a resolution which allows for the use of factories in the setUp() method?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Stubbs stubbs Joined 17 Oct 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.