Code Correction Sparks Surge of Excitement in Testing Community!
Critical Fix in Method Calls Enhances Reliability of Message Validation Protocols, Setting New Standards for Future Code Integrity!
Commit Details:
Fix incorrect method call in the test (#2498) ## Why is this change needed? In the test block "validateMessage", the test "fails without signer" incorrectly calls the method submitMessage instead of validateMessage. ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [ ] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the test cases in the `messageService.test.ts` file to replace calls to `client.submitMessage` with `client.validateMessage`, ensuring that the validation logic is tested instead of the submission logic. ### Detailed summary - Changed `client.submitMessage(castAdd)` to `client.validateMessage(castAdd)`. - Changed `client.submitMessage(frameAction)` to `client.validateMessage(frameAction)`. - Updated the error handling expectations to reflect changes in the message validation process. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->