[follow-up] integration XRPC tests pass no owner to mail.createAccount (400)
closedContext
Surfaced by the T3 (bug a6181d9) SQLite re-verification run: with SOVRN_INTEGRATION=1 against the live harness, TestIntegrationAppPasswordXRPC and TestIntegrationAppViewXRPCEndToEnd fail at the mail.createAccount step with 400 "specify handle, did, or newAccount".
Problem
Commit xstvmxok (email account <-> DID mapping) made exactly-one-of handle/did/newAccount mandatory in at.sovrn.mail.createAccount (internal/appview/mail_create_account.go:112-114), but these two tests still call with only {DomainId, Address} (internal/integration/apppassword_xrpc_test.go:89, internal/integration/appview_test.go:95).
Task
- Pass
Did:with the test’s own DevAuth DID (did:plc:r3ymj5kxgxw5a5u7zylycyda, already incfg.DevAuth.DID) in both calls. Both tests create a mailbox for the caller itself, so status staysactiveand all downstream assertions (IMAP login,State == "active") hold. Do NOT useNewAccount: true(yieldspendingvia the Fake provisioner and breaks the active-state assertion). - Re-run both tests with
SOVRN_INTEGRATION=1to green.
Acceptance
TestIntegrationAppPasswordXRPCandTestIntegrationAppViewXRPCEndToEndpass against the live harness. Test-only change; no production code.
1 Comment
Fixed
internal/integration/apppassword_xrpc_test.go:89andappview_test.go:95now passDid: strPtr(cfg.DevAuth.DID)(commitf06fc0e1). Both tests create a mailbox for the caller itself, so status staysactiveand all downstream assertions hold. Verified green withSOVRN_INTEGRATION=1; full integration package 8⁄8 PASS. Test-only change. Left open for your review.