Did you upgrade to laravel 5.7? The upgrade guide states
SQLite Foreign Keys
Likelihood Of Impact: Medium
SQLite does not support dropping foreign keys. For that reason, using the dropForeign method on a table now throws an exception. Generally, this should be considered a bug fix; however, it is listed as a breaking change out of caution.
If you run your migrations on multiple types of databases, consider using DB::getDriverName() in your migrations to skip unsupported foreign key methods for SQLite.
This is the error your getting, so look to add a conditional around any of your calls to dropForeign in you migrations
Thanks. I realised its due to me adding Voyager. The voyager migrations then break the tests. Not sure what to do with the migrations to stop the error so I decided to remove voyager and will reinstall it at the end of development I think.