Refs #21230 -- removed direct settings manipulation from staticfile tests