Support the ongoing development of Laravel.io →

gambledor

Joined 11 Sep 2015

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0

Illuminate\Database\Eloquent\Factory bug

In my testcase when I try to create a model by factory like the following $factory->defineAs(App\...

0 Likes
2 Replies
replied 8 years ago

Illuminate\Database\Eloquent\Factory bug

I do not hit the database since I'm using make() instead of create. Anyway the field is of type varc...

0 Likes
replied 8 years ago

Use factory() in PHPUnitTest

You should extend from TestCase class you find in your tests directory and not from PHPUnit_Framewor...

0 Likes

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.