Our current cosmological observations cannot distinguish between a cosmological model with a fifth force acting on dark matter and one for which the laws of gravity are modified. Instead, a method using future gravitational redshift data is proposed.