A silent pump when the key is turned on doesn't automatically mean the electric motor has failed. It depends on the power supply, the engine stop switch and the control circuit.
What is known from experience
Owners found a fuse, a poor connector contact and a pump failure; after removing the tank, the cause was sometimes a hose not fully clicked in. A separate problem is a broken module fitting after a careless quick-connect release.
How to tell the causes apart
With the ignition off, inspect the module, the hose connection and any leaks. Then check F2 and the power supply against the diagram for your version. Measuring the winding resistance doesn't confirm the pump delivers the right pressure: that needs a delivery check by the service procedure. Don't try to separate a tank that is hanging on the fuel hose.
Checking the result
After the repair, check for leaks under working pressure and that the engine starts. A tube glued into a damaged fitting, taken from someone's roadside story, isn't a confirmed permanent repair. With a crack, a fuel smell or a leak, don't start the engine.