[server][testFaceRest] Use a defined type and 'const'.