- Fixed unused variable
- Changed test to verify complete message instead of verifying if message contains text.
Merge pull request #18118 from vipulnsward/fix-validation-message

Validation test fixes