mardi 5 mai 2015

Laravel 5 Mocking jwt-auth

I just added this library to support token auth, and consequently my test cases are failing because there is no token on the headers/params. How can I mock (using Mockery) a component to bypass this?

Note: $this->be() doesn't work

Aucun commentaire:

Enregistrer un commentaire