There was a typo in the test, covering the wrong SQLState code. Polishes a644245. Relates to gh-29699.
a644245