Not sure - it wasn't a specialist e-bike shop. They didn't know the pinout of the controller/wheel (and neither do I), so the basic checks they did probably didn't reveal this.
Thanks - the shop checked all of that for me and I checked as far as I can - no broken contacts and nothing has come loose... So that wasn't my question really! :-)