Either 1) the prediction for a particular galaxy is right, and there's no "dark energy" or "dark matter" or
2) the prediction is wrong, and you add a bunch of dark energy or dark matter to make the equations work out.
It's not testable at all - no matter whether predictions for a particular galaxy are right or wrong, you're still allowing yourself to think that the theory is correct. How is this scientific?