Skip to content

Commit bd76841

Browse files
committed
chore: remove duplicated test
1 parent 06a8efc commit bd76841

File tree

1 file changed

+0
-18
lines changed
  • crates/apollo-mcp-server/src/introspection/tools

1 file changed

+0
-18
lines changed

crates/apollo-mcp-server/src/introspection/tools/execute.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -246,24 +246,6 @@ mod tests {
246246
}
247247
}
248248

249-
#[test]
250-
fn execute_query_err_with_subscription_when_mutation_mode_is_all() {
251-
let execute = Execute::new(MutationMode::All);
252-
253-
let input = json!({
254-
"query": "subscription { user { id name } }",
255-
});
256-
257-
assert_eq!(
258-
Executable::operation(&execute, input),
259-
Err(McpError::new(
260-
ErrorCode::INVALID_PARAMS,
261-
"Invalid operation type".to_string(),
262-
None
263-
))
264-
);
265-
}
266-
267249
#[test]
268250
fn execute_query_invalid_input() {
269251
let execute = Execute::new(MutationMode::None);

0 commit comments

Comments
 (0)