Fix MessagesView first-contact test for allowLegacyAgentId lookup option.

fetchDmPublicKey now passes allowLegacyAgentId: false for short-address
contact requests; update the assertion to match the new call signature.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BigBodyCobain
2026-06-12 02:21:25 -06:00
parent 89d6bb8fb9
commit 52a0968092
@@ -725,6 +725,7 @@ describe('MessagesView first-contact trust UX', () => {
'http://localhost:8000',
'',
'f0eee9e9ccf849bcb2d86c0d7a1e0669c75be4e05533b0f6c67',
{ allowLegacyAgentId: false },
);
expect(mocks.sendOffLedgerConsentMessage).toHaveBeenCalled();
expect(screen.queryByText(/Unexpected number in JSON/i)).not.toBeInTheDocument();