Logo
Sign up Sign in
forks/warmbly
1
0
hosted on Rithub
Fork 0
You've already forked warmbly
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
warmbly/internal/client/msgraph/root_test.go
Matthew Meszaros e58921484d feat: rebuild mailbox import around column mapping and automatic host and sign-in detection (CSV, XLSX, pasted lists, saved mappings, retryable rows with fixes, migrations 000205-000206), connect whole Google Workspace domains and Microsoft 365 organizations through a proved administrator grant, import from inbox vendors (InboxKit, Zapmail, Mailforge, Infraforge, Maildoso, Cheap Inboxes, ScaledMail) with vendor-managed forwarding and DNS, add a sending domains page with per-domain tracking and verified root redirects, unify Add account into one Google and one Microsoft entry with per-method choices, mark per-mailbox Google sign-in as retiring with in-place moves to the admin grant or an app password, allow the loopback security mode in the credential columns (migration 000207), read semicolon-separated CSVs, and add a mock vendor API to the sandbox
2026-09-23 08:41:01 -07:00

13 lines
379 B
Go
Raw Permalink Blame History

package msgraph
import "testing"
func TestRootActsForTheSignedInUserOrTheNamedOne(t *testing.T) {
if got := (&Client{}).root(); got != graphBase+"/me" {
t.Fatalf("delegated root = %q", got)
}
if got := (&Client{User: "8f2a/..%2f"}).root(); got != graphBase+"/users/8f2a%2F..%252f" {
t.Fatalf("application root = %q, want the id escaped into one path segment", got)
}
}
Reference in New Issue View Git Blame Copy Permalink
English
English
Licenses API
Explore · Agents · Move from GitHub · Rithub vs GitHub · For startups · Terms · Privacy