chore(rest): fix mock inconsistency

related to #CAM-3093