49ers running back LaMichael James tested his elbow in Thursday's preseason finale against the Chargers, but left early with a knee injury, according to Comcast SportsNet Bay Area.

James left the game after the first quarter. He finished with two carries for minus-4 yards before the injury.

The 49ers will open the season at home against the Packers on Sept. 8.