In my testcase when I try to create a model by factory like the following $factory->defineAs(App\...
I do not hit the database since I'm using make() instead of create. Anyway the field is of type varc...
You should extend from TestCase class you find in your tests directory and not from PHPUnit_Framewor...
The Laravel portal for problem solving, knowledge sharing and community building.
The community