lundi 8 janvier 2018

Laravel testing with JWTAuth

I am getting trouble with JWTAuth, it returns error: "BadMethodCallException: Static method JWTAuth::fromUser() does not exist on this mock object." But when I run this method separately, it works ok. Anyone has difference solution for it? I need it run NOT SEPARATELY. Pls help me.

Aucun commentaire:

Enregistrer un commentaire