fixed assertion based on new implementation of Illuminate\Http\JsonResponse

Signed-off-by: crynobone <crynobone@gmail.com>