Pakistan 's military says it has successfully test-fired a short-range nuclear-capable missile .