Update test to match error generated by Rails 7
Update test to match error generated by Rails 7

The 'did you mean' part of the error is no longer returned to the user,
so we need to update the test accordingly.

alphagov/publishing-api,alphagov/publishing-api