Portugal scored two goals in quick succession in their friendly against Nigeria thanks to Goncalo Ramos and Joao Mario.