In the Battle of Fredericksburg , it suffered minor casualties from artillery fire , but did n't get a chance to fight .