How to test this function?
public function destroy(Post $post) { $post->delete(); return Response::json([], ResponseHttp::HTTP_OK); }
I know that I must create several post delete it, but how it test?
Aucun commentaire:
Enregistrer un commentaire