aacotroneo/laravel-saml2

PHPUnit - Uncaught Error: Class 'Route' not found

thalissonbarbosas opened this issue · 1 comments

PHPUnit\Framework\Exception: Fatal error: Uncaught Error: Class 'Route' not found in vendor/aacotroneo/laravel-saml2/src/routes.php on line 3

I'm running tests with phpunit for another features, and always shows this error. Its fixed when i put Use Illuminate\Support\Facades\Route; in routes.php file.

Yes, i have the Route alias in config/app.php

caswd commented

Hey guys, I am also experiencing this issue on version 2.1.0. Is there any fix or workaround?
My test run in Bamboo so I cannot edit the source of a vendor package as a workaround.

Many thanks :)