There is no electronics to fry in those pumps.
Black is almost certainly ground.
Just try the other two wires to positive to see which is which.
Cheers, JM.