You'll have to go through basic diagnostics. Pull the battery and see if you can physically verify the voltage. And, if possible, voltage drop when in use.
See if you can figure out how to hotwire the motor. Is that a mid-drive? There are a couple of big mid-drive manufacturers, but that may be a Chinese clone.
Keep an eye out for loose, bent, damaged connectors.