Refs #6087 updates deprecated function usage in unit tests for web services API