I would like to offer a tip that will yield a higher probability of success:
Prep and test the new SSD BEFORE you put it inside the Mini, using either an external 2.5" enclosure or a USB3/SATA docking station.
Could prevent numerous headaches, if you don't...