Fixes #6647

Fixes #6647
I don't think we need to have this test at all. We already have `testValidationFailures` on line 151 which covers the conditional. Adding the `$this->error(self::NOT_FLOAT);` in those two places is fine, but we don't need to touch the tests.