I have Laravel method in Controller:
public function index() { return Post::query(true)->filter(\Request::input())->paginate()->appends(\Request::input()); }
How test it method? Create post, get it, and compare response?
Aucun commentaire:
Enregistrer un commentaire