aacotroneo / laravel-saml2

A Laravel 5 package for Saml2 integration as a SP (service provider) based on the simple OneLogin toolkit
MIT License
567 stars 238 forks source link

Laravel authenticated tests, phpunit #245

Open Coding-Challenger opened 3 years ago

Coding-Challenger commented 3 years ago

How can I do the following using this package?

If want to log an user in my application to test, I can do the following public function setUp() { $this->be(App\User::first()) //now I'm logged to that first user in any test inside this class } How can I do the following with this package? Is it possible?