fix: properly handle OAuth refreshes
CI / All (ubuntu-latest) (push) Failing after 29s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-08-13 16:00:42 -06:00
parent c2b0c120d7
commit 0f35e03a85
6 changed files with 630 additions and 76 deletions
+1 -4
View File
@@ -765,10 +765,7 @@ mod tests {
assert_eq!(cli.mcp_add, Some("notion".to_string()));
assert!(matches!(cli.transport, Some(McpTransportArg::Http)));
assert_eq!(cli.url, Some("https://mcp.notion.com/mcp".to_string()));
assert_eq!(
cli.header,
vec!["Authorization: Bearer {{NOTION_TOKEN}}"]
);
assert_eq!(cli.header, vec!["Authorization: Bearer {{NOTION_TOKEN}}"]);
assert!(cli.mcp_command.is_empty());
}