phplaravellaravel-5behat

Behat and laravel 5.5: Class hash does not exist


I keep getting

In Container.php line 752:
  Class hash does not exist 

When I run behat on a laravel 5.5 project

I have php 7.1, ubuntu 16.04 and "behat/behat": "^3.5",.

My coworkers don't seem to have this problem, only me. A pc specific issue?

I tried composer dump-autoload and php artisan cache:clear, nothing works


Solution

  • if I run the command below, everything runs smoothly and I see no errors, not sure if this is a fix or not.

    /vendor/bin/behat --tags=Ready