Skip to content

Commit 933e18a

Browse files
committed
adjusts integ test
1 parent f7b4ec4 commit 933e18a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/tools/atlas/clusters.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,18 @@ describeWithAtlas("clusters", (integration) => {
150150
expectDefined(connectCluster.inputSchema.properties);
151151
expect(connectCluster.inputSchema.properties).toHaveProperty("projectId");
152152
expect(connectCluster.inputSchema.properties).toHaveProperty("clusterName");
153+
expect(connectCluster.inputSchema.properties).toHaveProperty("connectionType");
153154
});
154155

155156
it("connects to cluster", async () => {
156157
const projectId = getProjectId();
158+
const connectionType = "standard";
157159
let connected = false;
158160

159161
for (let i = 0; i < 10; i++) {
160162
const response = await integration.mcpClient().callTool({
161163
name: "atlas-connect-cluster",
162-
arguments: { projectId, clusterName },
164+
arguments: { projectId, clusterName, connectionType },
163165
});
164166

165167
const elements = getResponseElements(response.content);

0 commit comments

Comments
 (0)