Italy beat Hungary to move top of Nations League Group A3.
Nicolo Barella gave Italy the lead with a strike from the edge of the penalty area.
Lorenzo Pellegrini made it 2-0 with a low shot from Matteo Politano's free kick.
Hungary pulled one back after beating England.
Italy, who failed to qualify for the World Cup after losing in a play-off against North Macedonia, had chances to score before taking the lead in Cesena but they were stopped by Hungary.
After Barella's goal, Italy was able to get a second and an excellent sliding clearance from Nego denied Wilfried Gnonto.
Politano's strike bounced off the goal post.
It had appeared to be a comfortable evening for Italy, but the ball was slid into the net by Hungary after a cross from the right.
Italy has four points from two matches.
In a repeat of last summer's Euro 2020 final, England will play Italy on Saturday, 11 June in a repeat of the game that ended in a 2-2 draw.
The FA was hit with sanctions after crowd trouble at the Euro 2020 final and the match will only have a limited attendance.
There was a lack of order and discipline at the match after hundreds of ticketless fans got into Wembley and fought with stewards.
Children under the age of 14 will be allowed to enter with an adult.