Run tests that consult an existing database with Laravel 5.4 - Dusk

0

I need to run automated tests on the search engine with Laravel 5.4 using Dusk . The database was not created from the framework migration system, so I have problems executing the tests that make queries to the database.

  

Illuminate \ Database \ QueryException: SQLSTATE [HY000] [2002] No such   file or directory (SQL: insert into users ( name , email ,    password , remember_token , updated_at , created_at ) values   (Harrison Aufderhar Jr., [email protected],   $ 2y $ 10 $ 6VIOEVoj.AJFOJlRrg7jGu9FckcJj / fWP3UazIPhtM9m07sTWrkFG,   drfrdsUS41, 2017-09-26 11:32:05, 2017-09-26 11:32:05))

Caused by PDOException: SQLSTATE[HY000] [2002] No such file or directory
    
asked by Edison Rave 26.09.2017 в 18:45
source

0 answers