Loading...
France took the lead through Rayan Cherki in first-half stoppage time after the Manchester City midfielder scored in the 46th minute.
The visitors responded strongly after the break, with Guela Doue equalising in the 53rd minute, before Amad Diallo, the Manchester United winger, scored the winning goal six minutes from time.
France fielded most of its regular starters, including Kylian Mbappe of Real Madrid and Michael Olise of Bayern Munich.
The French side will play a second warm-up match against the Northern Ireland national football team on June 8 before travelling to the United States for the World Cup.
France has been drawn into Group I alongside the Senegal national football team, the Iraq national football team and the Norway national football team.
Meanwhile, Ivory Coast will compete in Group E alongside the national football teams of Germany, Ecuador and Curacao.