We should assert the specific HTTP codes expected. Maybe expectShareFail can just be {Boolean|Number}