mardi 29 août 2017

DatabaseMigrations Not Found In Laravel 5.0

I was watching a video of Unit Testing of Laravel 5.4, and the tutor uses

use Illuminate\Foundation\Testing\DatabaseMigrations;

and

use DatabaseMigrations;

inside the testing file

In Laravel 5.0, there are no such files and I cannot use DatabaseMigrations in my testing file.

I get error like

Fatal error: Trait 'Illuminate\Foundation\Testing\DatabaseMigrations' not found

Are there any replacements in Laravel 5.0



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2vFkJgw
via IFTTT

Aucun commentaire:

Enregistrer un commentaire